dnsmsg

package
v0.5.6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 4, 2025 License: BSD-3-Clause Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Funcs

func Funcs(ctx context.Context, m *dns.Msg) *dns.Msg

Funcs iterates over all handlers and run the functions that are set in the context over the message. The possibly modified message is returned.

func WithValue

func WithValue(ctx context.Context, handlerkey string, f Func) context.Context

WithValue set the Func f in the context under the key handler.<name>/msgfunc.

Types

type Func

type Func func(*dns.Msg) *dns.Msg

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL