Documentation
¶
Index ¶
- func Err(err error) slog.Attr
- type Url
- func (h *Url) Err(err error) error
- func (u *Url) Fetch() error
- func (u *Url) HandlerFunc(next dns.HandlerFunc) dns.HandlerFunc
- func (h *Url) Key() string
- func (u *Url) Refetch() error
- func (u *Url) Reload() error
- func (u *Url) Setup(co *dnsserver.Controller) error
- func (u *Url) Zone(origin string) *zone.Zone
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Url ¶
type Url struct {
URLs []string
Path string
// Zones holds all the zone this instance of Url is called for.
Zones map[string]*zone.Zone
sync.RWMutex // protects Zones
// contains filtered or unexported fields
}
func (*Url) HandlerFunc ¶
func (u *Url) HandlerFunc(next dns.HandlerFunc) dns.HandlerFunc
Click to show internal directories.
Click to hide internal directories.