collector

package
v0.0.0-...-103085b Latest Latest
Warning

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

Go to latest
Published: Apr 24, 2024 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const CollectorContextKey contextKey = "collector-middleware-context"

Variables

This section is empty.

Functions

This section is empty.

Types

type CollectorContext

type CollectorContext struct {
	StartTime time.Time
	AnweredBy string
}

type Handler

type Handler struct {
	Next pigdns.Handler
}

func (*Handler) ServeDNS

func (h *Handler) ServeDNS(c context.Context, r *pigdns.Request)

Jump to

Keyboard shortcuts

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