mirror of
https://github.com/go-micro/go-micro.git
synced 2024-12-24 10:07:04 +02:00
15 lines
139 B
Go
15 lines
139 B
Go
|
package grpc
|
||
|
|
||
|
import (
|
||
|
"bytes"
|
||
|
)
|
||
|
|
||
|
type buffer struct {
|
||
|
*bytes.Buffer
|
||
|
}
|
||
|
|
||
|
func (b *buffer) Close() error {
|
||
|
b.Buffer.Reset()
|
||
|
return nil
|
||
|
}
|