Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AddedKey ¶
type AddedKey struct {
Status string `json:"status"`
ServerKey string `json:"server_key"`
ServerPort int `json:"server_port"`
ServerIP string `json:"server_ip"`
ServerVirtualIP string `json:"server_vip"`
PeerIP string `json:"peer_ip"`
PeerPublicKey string `json:"peer_pubkey"`
DNSServers []string `json:"dns_servers"`
}
type Client ¶
func (*Client) CreateWireGuardConfig ¶
type ContextKey ¶
type ContextKey string
type Region ¶
type Region struct {
ID string `json:"id"`
Name string `json:"name"`
Country string `json:"country"`
AutoRegion bool `json:"auto_region"`
DNS string `json:"dns"`
PortForwarding bool `json:"port_forward"`
Geo bool `json:"geo"`
Servers map[string]Server `json:"servers"`
Latency *time.Duration `json:"latency"`
}
Click to show internal directories.
Click to hide internal directories.