MCPcopy
hub / github.com/caddyserver/caddy / ReplaceFilter

Struct ReplaceFilter

modules/logging/filters.go:118–120  ·  view source on GitHub ↗

ReplaceFilter is a Caddy log field filter that replaces the field with the indicated string.

Source from the content-addressed store, hash-verified

116// ReplaceFilter is a Caddy log field filter that
117// replaces the field with the indicated string.
118type ReplaceFilter struct {
119 Value string `json:"value,omitempty"`
120}
121
122// CaddyModule returns the Caddy module information.
123func (ReplaceFilter) CaddyModule() caddy.ModuleInfo {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected