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

Method Reset

IceFireDB-PubSub/pkg/router/context.go:41–47  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

39}
40
41func (c *Context) Reset() {
42 c.Writer = nil
43 c.Args = c.Args[0:0]
44 c.Handlers = nil
45 c.Index = -1
46 c.Reply = nil
47}
48
49func (c *Context) Next() error {
50 c.Index++

Callers 5

NamespaceFunction · 0.45
HandleMethod · 0.45
SyncMethod · 0.45
HandleMethod · 0.45
SyncMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected