Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CommandService ¶
CommandService implements both: Command + Service Is intendend for those controller commands, that must have background task running
type ErrorResponse ¶
type ErrorResponse struct { MessageHeader Data struct { Type string `json:"type"` Message string `json:"error"` } `json:"data"` }
type MessageHeader ¶
type MessageHeader struct { ID string `json:"id"` MsgType string `json:"type"` Timestamp string `json:"executed_at,omitempty"` }
Generic message struct (common part for all messages)
func (*MessageHeader) Now ¶
func (mh *MessageHeader) Now()
type SdnNetworkPath ¶
type SdnNetworkPath struct { Ifname string // Interface, on which setup route PublicKey string // Wireguard public key Gateway netip.Addr // Gateway, via which access destination ConnectionID int // Unique connection ID GroupID int // Route SDN group ID }
func (*SdnNetworkPath) String ¶
func (sr *SdnNetworkPath) String() string
type SupportInfoHelper ¶
type SupportInfoHelper interface {
SupportInfo() *KeyValue
}
Click to show internal directories.
Click to hide internal directories.