Documentation ¶ Index ¶ type Redactor func NewRedactor(redactIPs bool, extra []string) (*Redactor, []error) func (redactor *Redactor) Scrub(value string) string func (redactor *Redactor) ScrubFields(fields map[string]interface{}) map[string]interface{} Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Redactor ¶ type Redactor struct { // contains filtered or unexported fields } func NewRedactor ¶ func NewRedactor(redactIPs bool, extra []string) (*Redactor, []error) func (*Redactor) Scrub ¶ func (redactor *Redactor) Scrub(value string) string func (*Redactor) ScrubFields ¶ func (redactor *Redactor) ScrubFields(fields map[string]interface{}) map[string]interface{} Source Files ¶ View all Source files redactor.go Click to show internal directories. Click to hide internal directories.