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

@@ -65,6 +65,10 @@ func (c *ConnWriter) WriteMsg(msg string, level int) error {
return nil
}
func (c *ConnWriter) Flush() {
}
func (c *ConnWriter) Destroy() {
if c.innerWriter == nil {
return