Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Announce ¶
type Announce struct {
WireguardState WireguardState `json:"wg"`
AddrInfo peer.AddrInfo `json:"ai"`
}
type WireguardState ¶
type WireguardState struct {
PublicKey string `json:"pk"`
SelectedAddr string `json:"ip"`
Port int `json:"port"`
}
func (WireguardState) IsValid ¶
func (ws WireguardState) IsValid() bool
Click to show internal directories.
Click to hide internal directories.