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