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 string `json:"code,omitempty"`
// message
Message string `json:"message,omitempty"`
}
Error error
swagger:model Error
func (*Error) ContextValidate ¶
ContextValidate validates this error based on context it is used
func (*Error) MarshalBinary ¶
MarshalBinary interface implementation
func (*Error) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type WireGuardPeer ¶
type WireGuardPeer struct {
// i ps
IPs []string `json:"ips"`
// endpoint
Endpoint string `json:"endpoint,omitempty"`
// ps key
PsKey string `json:"ps_key,omitempty"`
// pub key
PubKey string `json:"pub_key,omitempty"`
}
WireGuardPeer wire guard peer
swagger:model WireGuardPeer
func (*WireGuardPeer) ContextValidate ¶
ContextValidate validates this wire guard peer based on context it is used
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
type WireGuardPeers ¶
type WireGuardPeers []*WireGuardPeer
WireGuardPeers wire guard peers
swagger:model WireGuardPeers
func (WireGuardPeers) ContextValidate ¶
ContextValidate validate this wire guard peers based on the context it is used
Click to show internal directories.
Click to hide internal directories.