Versions in this module Expand all Collapse all v4 v4.36.3 May 3, 2026 v4.36.2 May 3, 2026 Changes in this version + var ErrZoneNotFound = errors.New("zone not found") + type ZoneCache struct + func New[Zone any](fetchAll func() (map[string]Zone, error)) ZoneCache[Zone] + func (c *ZoneCache[Zone]) GetZone(name string) (Zone, error) + func (c *ZoneCache[Zone]) GetZoneNames() ([]string, error) + func (c *ZoneCache[Zone]) HasZone(name string) (bool, error) + func (c *ZoneCache[Zone]) SetZone(name string, z Zone)