MCPcopy Index your code
hub / github.com/CodisLabs/codis / NewEncoderBuffer

Function NewEncoderBuffer

pkg/proxy/redis/encoder.go:62–64  ·  view source on GitHub ↗
(bw *bufio2.Writer)

Source from the content-addressed store, hash-verified

60}
61
62func NewEncoderBuffer(bw *bufio2.Writer) *Encoder {
63 return &Encoder{bw: bw}
64}
65
66func (e *Encoder) Encode(r *Resp, flush bool) error {
67 if e.Err != nil {

Callers 3

newConnEncoderFunction · 0.85
NewEncoderFunction · 0.85
NewEncoderSizeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected