Discover Packages
codeberg.org/miekg/dns
cmd
atomdns
internal
dnsctx
package
Version:
v0.5.26
Opens a new window with list of versions in this module.
Published: Nov 17, 2025
License: BSD-3-Clause
Opens a new window with license information.
Imports: 4
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
Funcs iterates over all handlers and run the functions that are set in the context over the message. The possibly
modified message is returned.
Value returns the data under key. If key does not contain a slash nil is returned.
WithFuncValue set the Func f in the context under the key <handler>/msgfunc.
WithValue stores value under the string value key, key must contain a slash and be formatted like
"<handler>/xxx". If key does not contain a slash, this function is noop.
Func is a function that can be set in the context and operates on a dns.Msg .
Source Files
¶
Click to show internal directories.
Click to hide internal directories.