micro-server-tcp/buffer.go
Vasiliy Tolstov 873bad2488 initial implementation
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2020-09-03 12:21:00 +03:00

15 lines
138 B
Go

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