Documentation
¶
Index ¶
Constants ¶
View Source
const WgConfigTemplate = `` /* 732-byte string literal not displayed */
Variables ¶
This section is empty.
Functions ¶
func ConfigureWireguard ¶ added in v0.2.0
func ConfigureWireguard(wgConfig Configuration) ([]byte, error)
Types ¶
type Configuration ¶ added in v0.2.0
type Interface ¶
type Peer ¶ added in v0.2.0
type Peer struct {
PublicKey string
IP net.IP
EndpointIP net.IP
EndpointPort int
AllowedIPs string
}
func (Peer) GetEndpointIP ¶ added in v0.2.0
func (Peer) HasSameEndpointIP ¶ added in v0.2.0
func (Peer) IsEndpointIPDefined ¶ added in v0.2.0
Click to show internal directories.
Click to hide internal directories.