Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type IranResolver ¶
IranResolver is a coredns plugin to generate hosts file for banned and sanctioned urls.
func New ¶
func New() *IranResolver
func (*IranResolver) Name ¶
func (ir *IranResolver) Name() string
Name implements the Handler interface.
func (*IranResolver) OnShutdown ¶
func (ir *IranResolver) OnShutdown() error
OnShutdown stops all configured clients.
func (*IranResolver) OnStartup ¶
func (ir *IranResolver) OnStartup() (err error)
OnStartup starts a goroutines for all clients.
Click to show internal directories.
Click to hide internal directories.