go-tigertonic icon indicating copy to clipboard operation
go-tigertonic copied to clipboard

Add Redact to the Request and Response interfaces

Open rcrowley opened this issue 12 years ago • 2 comments

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.

rcrowley avatar Jun 24 '13 14:06 rcrowley

Actually, instead of having to embed NilRedactor, we could redactor, ok := request.(Redactor) to keep the no-redactor-necessary case simple.

rcrowley avatar Jul 31 '13 15:07 rcrowley

The Request and Response interfaces have been removed.

rcrowley avatar Oct 29 '13 23:10 rcrowley