MCPcopy
hub / github.com/redis/go-redis / Write

Method Write

internal/proto/writer_test.go:81–83  ·  view source on GitHub ↗
(b []byte)

Source from the content-addressed store, hash-verified

79type discard struct{}
80
81func (discard) Write(b []byte) (int, error) {
82 return len(b), nil
83}
84
85func (discard) WriteString(s string) (int, error) {
86 return len(s), nil

Callers 3

readRawReplyWriteToMethod · 0.45
writeLenMethod · 0.45
bytesMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected