mhale / smtpd

An SMTP server package written in Go, in the style of the built-in HTTP server.
The Unlicense
397 stars 92 forks source link

Add LogFunc to log reads and writes #9

Closed awoodbeck closed 5 years ago

awoodbeck commented 5 years ago

The purpose of this PR is to allow for functions to handle reads and writes between the client and server. I use this functionality to color the output in my terminal while debugging.

I've also addressed some linting suggestions with boolean values.

mhale commented 5 years ago

Thanks for the PR!