Versions in this module Expand all Collapse all v0 v0.0.2 Oct 1, 2023 v0.0.1 Sep 30, 2023 Changes in this version + const MaxFileSize + const PasswordMinRunes + var Context homeContext + var GLMode bool + func Main(clientBuildFS fs.FS) + func RegisterAuthHandlers() + type Auth struct + func InitAuth(dbFilename string, users []webUser, sessionTTL uint32, ...) *Auth + func (a *Auth) AuthRequired() bool + func (a *Auth) Close() + func (a *Auth) GetUsers() []webUser + func (a *Auth) RemoveSession(sess string) + func (a *Auth) UserAdd(u *webUser, password string) + type Client struct + BlockedServices *filtering.BlockedServices + FilteringEnabled bool + IDs []string + IgnoreQueryLog bool + IgnoreStatistics bool + Name string + ParentalEnabled bool + SafeBrowsingEnabled bool + SafeSearch filtering.SafeSearch + Tags []string + Upstreams []string + UseOwnBlockedServices bool + UseOwnSettings bool + func (c *Client) ShallowClone() (sh *Client) + type DHCP interface + HostByIP func(ip netip.Addr) (host string) + Leases func() (leases []*dhcpsvc.Lease) + MACByIP func(ip netip.Addr) (mac net.HardwareAddr) + type RuntimeClient struct + Host string + Source client.Source + WHOIS *whois.Info + type Theme string + const ThemeAuto + const ThemeDark + const ThemeLight + func (t *Theme) UnmarshalText(b []byte) (err error)