go-tigertonic
go-tigertonic copied to clipboard
Add Redact to the Request and Response interfaces
This will give us a more structured Redactor than what's currently in Logger.
Also create an embedable NilRedactor to satisfy the interface for types that don't need any redaction.
Actually, instead of having to embed NilRedactor, we could redactor, ok := request.(Redactor) to keep the no-redactor-necessary case simple.
The Request and Response interfaces have been removed.