1
0
mirror of https://github.com/go-micro/go-micro.git synced 2024-12-06 08:16:03 +02:00
go-micro/server/buffer.go

15 lines
141 B
Go
Raw Normal View History

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