Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EntryHandler ¶
type EntryHandler struct {
// contains filtered or unexported fields
}
func NewEntryHandler ¶
func NewEntryHandler(opts EntryHandlerOpts) *EntryHandler
func (*EntryHandler) Handle ¶
func (h *EntryHandler) Handle(ctx context.Context, q *dns.Msg, serverMeta server.QueryMeta, packMsgPayload func(m *dns.Msg) (*[]byte, error)) *[]byte
ServeDNS implements server.Handler. If entry returns an error, a SERVFAIL response will be returned. If entry returns without a response, a REFUSED response will be returned.
type EntryHandlerOpts ¶
Click to show internal directories.
Click to hide internal directories.