Versions in this module Expand all Collapse all v0 v0.0.1 Jan 14, 2024 Changes in this version + type Client struct + Endpoint configvalues.UDPAddr + IP configvalues.IP + Name configvalues.Hostname + Preshared PresharedKey + Private PrivateKey + Public PublicKey + func (*Client) CaddyModule() caddy.ModuleInfo + func (c *Client) Cleanup() error + func (c *Client) Provision(ctx caddy.Context) error + func (c *Client) Start(fn pointc.RegisterFunc) error + func (c *Client) UnmarshalCaddyfile(d *caddyfile.Dispenser) (err error) + type PresharedKey = configvalues.CaddyTextUnmarshaler[wgapi.PresharedKey, valueKey[wgapi.PresharedKey], *valueKey[wgapi.PresharedKey]] + type PrivateKey = configvalues.CaddyTextUnmarshaler[wgapi.PrivateKey, valueKey[wgapi.PrivateKey], *valueKey[wgapi.PrivateKey]] + type PublicKey = configvalues.CaddyTextUnmarshaler[wgapi.PublicKey, valueKey[wgapi.PublicKey], *valueKey[wgapi.PublicKey]] + type Server struct + IP configvalues.IP + ListenPort configvalues.Port + Name configvalues.Hostname + Peers []*ServerPeer + Private PrivateKey + func (*Server) CaddyModule() caddy.ModuleInfo + func (c *Server) Cleanup() error + func (c *Server) Provision(ctx caddy.Context) error + func (c *Server) Start(fn pointc.RegisterFunc) error + func (c *Server) UnmarshalCaddyfile(d *caddyfile.Dispenser) (err error) + type ServerPeer struct + IP configvalues.IP + Name configvalues.Hostname + PresharedKey PresharedKey + Public PublicKey