mirror of
https://github.com/speatzle/nfsense.git
synced 2025-05-10 18:38:22 +00:00
10 lines
392 B
Go
10 lines
392 B
Go
package vpn
|
|
|
|
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"`
|
|
Comment string `json:"comment,omitempty"`
|
|
}
|