Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client is a basic wireguard client.
func (*Client) CaddyModule ¶
func (*Client) CaddyModule() caddy.ModuleInfo
func (*Client) MarshalJSON ¶
func (*Client) UnmarshalJSON ¶
type PresharedKey ¶
type PresharedKey = configvalues.CaddyTextUnmarshaler[wgapi.PresharedKey, valueKey[wgapi.PresharedKey], *valueKey[wgapi.PresharedKey]]
PresharedKey is a wireguard preshared key in base64 format.
type PrivateKey ¶
type PrivateKey = configvalues.CaddyTextUnmarshaler[wgapi.PrivateKey, valueKey[wgapi.PrivateKey], *valueKey[wgapi.PrivateKey]]
PrivateKey is a wireguard private key in base64 format.
type PublicKey ¶
type PublicKey = configvalues.CaddyTextUnmarshaler[wgapi.PublicKey, valueKey[wgapi.PublicKey], *valueKey[wgapi.PublicKey]]
PublicKey is a wireguard public key in base64 format.
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
Server is a basic wireguard server.
func (*Server) CaddyModule ¶
func (*Server) CaddyModule() caddy.ModuleInfo
func (*Server) MarshalJSON ¶
func (*Server) UnmarshalJSON ¶
Click to show internal directories.
Click to hide internal directories.