Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Redact to the Request and Response interfaces #8

Open
rcrowley opened this issue Jun 24, 2013 · 2 comments
Open

Add Redact to the Request and Response interfaces #8

rcrowley opened this issue Jun 24, 2013 · 2 comments

Comments

@rcrowley
Copy link
Owner

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
Copy link
Owner Author

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

@rcrowley
Copy link
Owner Author

The Request and Response interfaces have been removed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant