MCPcopy Create free account
hub / github.com/IceFireDB/IceFireDB / Context

Struct Context

IceFireDB-Redis-Proxy/pkg/router/context.go:30–39  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

28const AbortIndex int8 = math.MaxInt8 / 2
29
30type Context struct {
31 Writer *RESPHandle.WriterHandle
32 // Args [][]byte
33 Args []interface{}
34 Cmd string
35 Handlers HandlersChain // Middleware and final handler functions
36 Index int8
37 Op OpFlag
38 Reply interface{}
39}
40
41func (c *Context) Reset() {
42 c.Writer = nil

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected