Core Module

Core Module is used to communicate with the backend server. It provides APIs for other modules to establish connections with the backend.

Configuration

NameDefaultEnvironment KeyDescription
core.backend.addrlocalhost:11800ROVER_BACKEND_ADDRThe backend server address.
core.backend.enable_TLSfalseROVER_BACKEND_ENABLE_TLSThe TLS switch.
core.backend.client_pem_pathclient.pemROVER_BACKEND_PEM_PATHThe file path of client.pem. The config only works when opening the TLS switch.
core.backend.client_key_pathclient.keyROVER_BACKEND_KEY_PATHThe file path of client.key. The config only works when opening the TLS switch.
core.backend.insecure_skip_verifyfalseROVER_BACKEND_INSECURE_SKIP_VERIFYInsecureSkipVerify controls whether a client verifies the server's certificate chain and host name.
core.backend.ca_pem_pathca.pemROVER_BACKEND_CA_PEM_PATHThe file path oca.pem. The config only works when opening the TLS switch.
core.backend.check_period5ROVER_BACKEND_CHECK_PERIODHow frequently to check the connection(second).
core.backend.authenticationROVER_BACKEND_AUTHENTICATIONThe auth value when send request.