Documentation ¶
Index ¶
Constants ¶
View Source
const (
DefaultInterface = "wg99"
)
View Source
const (
KeyLength = 32
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { Name string `json:"name"` Interface Interface `json:"-"` Peers []Peer `json:"-"` }
func (*Config) WriteToFile ¶
Click to show internal directories.
Click to hide internal directories.