Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TLSCipherFilter ¶
type TLSCipherFilter struct{}
TLSCipherFilter is Caddy log field filter that replaces the numeric TLS cipher_suite value with the string representation.
func (TLSCipherFilter) CaddyModule ¶
func (TLSCipherFilter) CaddyModule() caddy.ModuleInfo
CaddyModule returns the Caddy module information.
func (*TLSCipherFilter) Filter ¶
func (f *TLSCipherFilter) Filter(in zapcore.Field) zapcore.Field
Filter replaces the input field containing numeric TLS cipher_suite with the corresponding string representation.
func (*TLSCipherFilter) UnmarshalCaddyfile ¶
func (f *TLSCipherFilter) UnmarshalCaddyfile(d *caddyfile.Dispenser) error
UnmarshalCaddyfile sets up the module from Caddyfile tokens.
type TLSVersionFilter ¶
type TLSVersionFilter struct { // Prefix is a constant string that will be added before the replaced version string. Prefix string `json:"prefix,omitempty"` }
TLSVersionFilter is a Caddy log field filter that replaces the numeric TLS version with the string version and optionally adds a prefix.
func (TLSVersionFilter) CaddyModule ¶
func (TLSVersionFilter) CaddyModule() caddy.ModuleInfo
CaddyModule returns the Caddy module information.
func (*TLSVersionFilter) Filter ¶
func (f *TLSVersionFilter) Filter(in zapcore.Field) zapcore.Field
Filter replaces the input field containing the numeric TLS version with the string version and adds the prefix.
func (*TLSVersionFilter) UnmarshalCaddyfile ¶
func (f *TLSVersionFilter) UnmarshalCaddyfile(d *caddyfile.Dispenser) error
UnmarshalCaddyfile sets up the module from Caddyfile tokens.