package
Version:
v0.0.0-...-e749f68
Opens a new window with list of versions in this module.
Published: Oct 22, 2023
License: AGPL-3.0
Opens a new window with license information.
Imports: 0
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type VPN struct {
Wireguard Wireguard `json:"wireguard"`
}
type WireguardInterface struct {
PublicKey string `json:"public_key"`
PrivateKey string `json:"private_key"`
ListenPort uint64 `json:"listen_port"`
Peers []string `json:"peers"`
}
type WireguardPeer struct {
PublicKey string `json:"public_key"`
PresharedKey *string `json:"preshared_key,omitempty"`
AllowedIPs []string `json:"allowed_ips"`
Endpoint *string `json:"endpoint,omitempty"`
PersistentKeepalive *uint64 `json:"persistent_keepalive,omitempty"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.