Documentation
¶
Index ¶
Constants ¶
View Source
const (
Version = "0.2.1"
)
Variables ¶
This section is empty.
Functions ¶
func RunObscure ¶
func RunObscure() error
Types ¶
type Config ¶
type Config struct {
Server string `yaml:"server"`
Username string `yaml:"username"`
Password string `yaml:"password"`
PfxPath string `yaml:"pfx_path"`
PfxPassword string `yaml:"pfx_password"`
Protocol string `yaml:"protocol"`
UserAgent string `yaml:"user_agent"`
BaseMTU int `yaml:"base_mtu"`
SplitRoutes []string `yaml:"split_routes"`
DNSDomains []string `yaml:"dns_domains"`
VerifyURL string `yaml:"verify_url"`
RPCAddr string `yaml:"rpc_addr"`
DebugLogPath string `yaml:"debug_log_path"`
ServerCert string `yaml:"server_cert"`
}
type EndpointVerification ¶
type EndpointVerification struct {
Host string
DNSServers []string
Addresses []string
Resolved bool
HTTPStatus int
Attempts int
Error string
Duration time.Duration
}
func (EndpointVerification) HTTPOK ¶
func (v EndpointVerification) HTTPOK() bool
type PFXCredentials ¶
type PFXCredentials struct {
Certificate tls.Certificate
RootCAs *x509.CertPool
}
Click to show internal directories.
Click to hide internal directories.