micro/server/buffer.go

15 lines
141 B
Go
Raw Permalink Normal View History

2015-01-13 23:31:27 +00:00
package server
import (
"bytes"
2015-01-13 23:31:27 +00:00
)
type buffer struct {
*bytes.Buffer
2015-01-13 23:31:27 +00:00
}
func (b *buffer) Close() error {
b.Buffer.Reset()
2015-01-13 23:31:27 +00:00
return nil
}