nfsense/internal/definitions/vpn/interface.go

9 lines
257 B
Go

package vpn
type WireguardInterface struct {
PublicKey string `json:"public_key"`
PrivateKey string `json:"private_key"`
ListenPort uint64 `json:"listen_port"`
Peers []string `json:"peers"`
Comment string `json:"comment,omitempty"`
}