micro-server-tcp/buffer.go

15 lines
138 B
Go
Raw Normal View History

package tcp
import (
"bytes"
)
type buffer struct {
*bytes.Buffer
}
func (b *buffer) Close() error {
b.Buffer.Reset()
return nil
}