Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Error ¶
type Error struct { // code Code int64 `json:"code,omitempty"` // detail Detail string `json:"detail,omitempty"` }
Error error swagger:model Error
func (*Error) MarshalBinary ¶
MarshalBinary interface implementation
func (*Error) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type WireguardDevice ¶
type WireguardDevice struct { // listen port // Required: true ListenPort *int64 `json:"listen_port"` // name // Required: true Name *string `json:"name"` // network // Required: true Network *string `json:"network"` // private key // Required: true // Min Length: 32 PrivateKey *string `json:"private_key"` // public key // Read Only: true // Min Length: 32 PublicKey string `json:"public_key,omitempty"` }
WireguardDevice wireguard device swagger:model WireguardDevice
func (*WireguardDevice) MarshalBinary ¶
func (m *WireguardDevice) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*WireguardDevice) UnmarshalBinary ¶
func (m *WireguardDevice) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type WireguardPeer ¶
type WireguardPeer struct { // allowed ips AllowedIps []string `json:"allowed_ips"` // peer id // Read Only: true PeerID string `json:"peer_id,omitempty"` // Min Length: 32 PresharedKey string `json:"preshared_key,omitempty"` // private key // Min Length: 32 PrivateKey string `json:"private_key,omitempty"` // public key // Required: true // Min Length: 32 PublicKey *string `json:"public_key"` }
WireguardPeer wireguard peer swagger:model WireguardPeer
func (*WireguardPeer) MarshalBinary ¶
func (m *WireguardPeer) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*WireguardPeer) UnmarshalBinary ¶
func (m *WireguardPeer) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
Click to show internal directories.
Click to hide internal directories.