handler

package
v0.0.0-...-6a40e4d Latest Latest
Warning

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

Go to latest
Published: Aug 13, 2023 License: GPL-3.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

View Source
const DefaultPrefix = "/dns-query"

DefaultPrefix is ...

Variables

This section is empty.

Functions

This section is empty.

Types

type Buffer

type Buffer []byte

Buffer is ...

func (Buffer) ReadFrom

func (b Buffer) ReadFrom(r io.Reader) (n int64, err error)

ReadFrom is ...

type Handler

type Handler struct {
	// Prefix is ...
	Prefix string `json:"prefix,omitempty"`
	// contains filtered or unexported fields
}

Handler is ...

func (Handler) CaddyModule

func (Handler) CaddyModule() caddy.ModuleInfo

CaddyModule is ...

func (*Handler) Provision

func (m *Handler) Provision(ctx caddy.Context) error

Provision is ...

func (*Handler) ServeHTTP

func (m *Handler) ServeHTTP(w http.ResponseWriter, r *http.Request, next caddyhttp.Handler) error

ServeHTTP is ...

Jump to

Keyboard shortcuts

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