Versions in this module Expand all Collapse all v0 v0.0.10 Dec 15, 2023 Changes in this version + type CaddyTextUnmarshaler struct + func (c *CaddyTextUnmarshaler[V, T, TP]) MarshalJSON() (text []byte, err error) + func (c *CaddyTextUnmarshaler[V, T, TP]) UnmarshalJSON(text []byte) error + func (c *CaddyTextUnmarshaler[V, T, TP]) UnmarshalText(text []byte) error + func (c *CaddyTextUnmarshaler[V, T, TP]) Value() V + func (c CaddyTextUnmarshaler[V, T, TP]) MarshalText() (text []byte, err error) + type Hostname = CaddyTextUnmarshaler[string, ValueString, *ValueString] + type IP = CaddyTextUnmarshaler[net.IP, ValueIP, *ValueIP] + type Port = CaddyTextUnmarshaler[uint16, ValueUnsigned[uint16], *ValueUnsigned[uint16]] + type UDPAddr = CaddyTextUnmarshaler[*net.UDPAddr, ValueUDPAddr, *ValueUDPAddr] + type Value interface + Value func() V + type ValueBool bool + func (b *ValueBool) UnmarshalText(text []byte) error + func (b *ValueBool) Value() bool + type ValueIP net.IP + func (ip *ValueIP) UnmarshalText(text []byte) error + func (ip *ValueIP) Value() net.IP + type ValueString string + func (s *ValueString) UnmarshalText(b []byte) error + func (s *ValueString) Value() string + type ValueUDPAddr net.UDPAddr + func (addr *ValueUDPAddr) UnmarshalText(text []byte) error + func (addr *ValueUDPAddr) Value() *net.UDPAddr + type ValueUnsigned struct + V N + func (n *ValueUnsigned[N]) UnmarshalText(b []byte) error + func (n *ValueUnsigned[N]) Value() N