Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/CodisLabs/codis
/ Encode
Function
Encode
pkg/proxy/redis/encoder.go:100–102 ·
view source on GitHub ↗
(w io.Writer, r *Resp)
Source
from the content-addressed store, hash-verified
98
}
99
100
func
Encode(w io.Writer, r *Resp) error {
101
return
NewEncoder(w).Encode(r, true)
102
}
103
104
func
EncodeToBytes(r *Resp) ([]byte, error) {
105
var
b = &bytes.Buffer{}
Callers
1
EncodeToBytes
Function · 0.85
Calls
2
NewEncoder
Function · 0.85
Encode
Method · 0.45
Tested by
no test coverage detected