Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Config = Configuration{}
Functions ¶
Types ¶
type Configuration ¶
type Configuration struct {
OpenVPNDir string `json:"openvpn_dir"`
OpenVPNNetwork string `json:"openvpn_network"`
OpenVPNNetmask string `json:"openvpn_netmask"`
OpenVPNUDPPort string `json:"openvpn_udp_port"`
OpenVPNStatusDir string `json:"openvpn_status_dir"` // Deprecated: it can be removed in the future
OpenVPNCCDDir string `json:"openvpn_ccd_dir"` // Deprecated: it can be removed in the future
OpenVPNProxyDir string `json:"openvpn_proxy_dir"`
OpenVPNPKIDir string `json:"openvpn_pki_dir"`
OpenVPNMGMTSock string `json:"openvpn_mgmt_sock"`
ListenAddress []string `json:"listen_address"`
AdminUsername string `json:"admin_username"`
AdminPassword string `json:"admin_password"`
SecretJWT string `json:"secret_jwt"`
SensitiveList []string `json:"sensitive_list"`
RegistrationToken string `json:"registration_token"`
CredentialsDir string `json:"credentials_dir"` // Deprecated: it can be removed in the future
DataDir string `json:"data_dir"`
Issuer2FA string `json:"issuer_2fa"`
SecretsDir string `json:"secrets_dir"` // Deprecated: it can be removed in the future
PromtailAddress string `json:"promtail_address"`
PromtailPort string `json:"promtail_port"`
PrometheusPath string `json:"prometheus_path"`
WebSSHPath string `json:"webssh_path"`
GrafanaPath string `json:"grafana_path"`
EasyRSAPath string `json:"easy_rsa_path"`
ProxyProtocol string `json:"proxy_protocol"`
ProxyHost string `json:"proxy_host"`
ProxyPort string `json:"proxy_port"`
LoginEndpoint string `json:"login_endpoint"`
FQDN string `json:"fqdn"`
CacheTTL string `json:"cache_ttl"`
ValidSubscription bool `json:"valid_subscription"`
ReportDbUri string `json:"report_db_uri"`
GeoIPDbDir string `json:"geoip_db_dir"`
MaxmindLicense string `json:"maxmind_license"`
GrafanaPostgresPassword string `json:"grafana_postgres_password"`
RetentionDays string `json:"retention_days"`
EncryptionKey string `json:"encryption_key"`
PlatformInfo models.PlatformInfo `json:"platform_info"`
// Prometheus basi authenticatin to access target list
PrometheusAuthUsername string `json:"prometheus_auth_username"`
PrometheusAuthPassword string `json:"prometheus_auth_password"`
}
Click to show internal directories.
Click to hide internal directories.