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

Interface IRoutes

IceFireDB-PubSub/pkg/router/types.go:24–31  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

22import "github.com/IceFireDB/components-go/RESPHandle"
23
24type IRoutes interface {
25 Use(...HandlerFunc) IRoutes
26 AddCommand(string, ...HandlerFunc) IRoutes
27 InitCMD()
28 Handle(w *RESPHandle.WriterHandle, args []interface{}) error
29 Sync(args []interface{}) error
30 Close() error
31}
32
33type HandlerFunc func(*Context) error
34

Callers 16

NewFunction · 0.65
NewFunction · 0.65
NewFunction · 0.65
NewFunction · 0.65
handleMethod · 0.65
handleMethod · 0.65
subscribeFunction · 0.65
subscribeFunction · 0.65
ExitMethod · 0.65
CloseMethod · 0.65
putConnectionUnsafeMethod · 0.65
closeConnMethod · 0.65

Implementers 4

RouterIceFireDB-Redis-Proxy/pkg/router/redis
RouterIceFireDB-Redis-Proxy/pkg/router/redis
RouterIceFireDB-PubSub/pkg/router/redisClust
RouterIceFireDB-PubSub/pkg/router/redisNode/

Calls

no outgoing calls

Tested by

no test coverage detected