add flush & read all chan data

This commit is contained in:
astaxie
2013-11-27 17:50:10 +08:00
parent 690d77e985
commit ba5e393e99
5 changed files with 35 additions and 1 deletions

View File

@@ -92,6 +92,9 @@ func (s *SmtpWriter) WriteMsg(msg string, level int) error {
return err
}
func (s *SmtpWriter) Flush() {
return
}
func (s *SmtpWriter) Destroy() {
return
}