micro/client/grpc/buffer.go

15 lines
139 B
Go
Raw Normal View History

2019-06-03 18:44:43 +01:00
package grpc
import (
"bytes"
)
type buffer struct {
*bytes.Buffer
}
func (b *buffer) Close() error {
b.Buffer.Reset()
return nil
}