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

Method IsError

pkg/proxy/redis/resp.go:46–48  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

44}
45
46func (r *Resp) IsError() bool {
47 return r.Type == TypeError
48}
49
50func (r *Resp) IsInt() bool {
51 return r.Type == TypeInt

Callers 6

slotsmgrtMethod · 0.80
slotsmgrtExecWrapperMethod · 0.80
KeepAliveMethod · 0.80
verifyAuthMethod · 0.80
selectDatabaseMethod · 0.80
loopReaderMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected