Documentation
¶
Index ¶
- func AllowedClients() []string
- func FirewallScript() string
- func Init() (warnings []string, errors []error)
- func Is64Bit() bool
- func LogFile() string
- func ObfsproxyHostPort() int
- func ObfsproxyStartScript() string
- func OpenVpnBinaryPath() string
- func OpenvpnCaKeyFile() string
- func OpenvpnConfigFile() string
- func OpenvpnDownScript() string
- func OpenvpnLogFile() string
- func OpenvpnProxyAuthFile() string
- func OpenvpnTaKeyFile() string
- func OpenvpnUpScript() string
- func OpenvpnUserParamsFile() string
- func RouteCommand() string
- func ServersFile() string
- func ServicePortFile() string
- func SettingsFile() string
- func WGConfigFilePath() string
- func WgBinaryPath() string
- func WgToolBinaryPath() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AllowedClients ¶
func AllowedClients() []string
AllowedClients returns list of clients which are allowed to connect to daemon (list of absolute paths to binaries)
func Init ¶
Init - initialize all preferences required for a daemon Must be called on beginning of application start by a daemon(service)
func Is64Bit ¶
func Is64Bit() bool
Is64Bit - returns 'true' if binary compiled in 64-bit architecture
func ObfsproxyHostPort ¶
func ObfsproxyHostPort() int
ObfsproxyHostPort is an port of obfsproxy host
func ObfsproxyStartScript ¶
func ObfsproxyStartScript() string
ObfsproxyStartScript path to obfsproxy binary
func OpenvpnConfigFile ¶
func OpenvpnConfigFile() string
OpenvpnConfigFile path to openvpn config file
func OpenvpnDownScript ¶
func OpenvpnDownScript() string
OpenvpnDownScript path to openvpn Down script file
func OpenvpnProxyAuthFile ¶
func OpenvpnProxyAuthFile() string
OpenvpnProxyAuthFile path to openvpn proxy credentials file
func OpenvpnUserParamsFile ¶
func OpenvpnUserParamsFile() string
OpenvpnUserParamsFile returns a path to a user-defined extra peremeters for OpenVPN configuration
func RouteCommand ¶
func RouteCommand() string
RouteCommand shell command to update routing table Example: "/sbin/route" - for macOS, "/sbin/ip route" - for Linux, "C:\\Windows\\System32\\ROUTE.EXE" - for Windows
func WGConfigFilePath ¶
func WGConfigFilePath() string
WGConfigFilePath path to WireGuard configuration file
func WgToolBinaryPath ¶
func WgToolBinaryPath() string
WgToolBinaryPath path to WireGuard tools binary
Types ¶
This section is empty.