Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Log ¶ added in v1.6.4
type Log struct {
// contains filtered or unexported fields
}
Log type.
func (*Log) ClientOnly ¶ added in v1.6.4
(*Log).ClientOnly marks accesslog as a client-traffic observer; middleware.Setup excludes it from internal sub-pipelines so access logs reflect real client queries only.
func (*Log) ServeDNS ¶ added in v1.6.4
func (a *Log) ServeDNS(ctx context.Context, ch *middleware.Chain)
(*Log).ServeDNS implements the Handle interface. With no log file the handler is inert and a wire-born request passes undecoded; with one it needs the decoded question for every line, which forces materialization and — documented in the zero-path matrix — disables the zero guarantee while enabled.
Click to show internal directories.
Click to hide internal directories.