MCPcopy Create free account
hub / github.com/distributedio/titan / Error

Method Error

encoding/codec.go:5–5  ·  view source on GitHub ↗
(s string)

Source from the content-addressed store, hash-verified

3// Encoder defines the interface of a RESP encoder
4type Encoder interface {
5 Error(s string) error
6 SimpleString(s string) error
7 BulkString(s string) error
8 NullBulkString() error

Callers 15

ServeMethod · 0.65
WriteMethod · 0.65
serveMethod · 0.65
mainFunction · 0.65
TestBulkString_DecodeFunction · 0.65
TestError_DecodeFunction · 0.65
TestInteger_DecodeFunction · 0.65
ReplyErrorFunction · 0.65
ReadErrorFunction · 0.65
debugObjectFunction · 0.65
FlushDBFunction · 0.65
FlushAllFunction · 0.65

Implementers 1

Encoderencoding/resp/resp.go

Calls

no outgoing calls

Tested by 15

TestBulkString_DecodeFunction · 0.52
TestError_DecodeFunction · 0.52
TestInteger_DecodeFunction · 0.52
TestStringSetEXSFunction · 0.52
TestStringSetPXSFunction · 0.52
TestStringSetFourFunction · 0.52
TestStringSetThreeFunction · 0.52
TestStringSetExFunction · 0.52
TestStringPSetExFunction · 0.52
TestStringSetRangeFunction · 0.52
TestStringIncrFunction · 0.52
TestStringDecrFunction · 0.52