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

Struct Router

IceFireDB-PubSub/pkg/router/redisCluster/router.go:122–127  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

120var _ router.IRoutes = (*Router)(nil)
121
122type Router struct {
123 redisCluster *rediscluster.Cluster
124 MiddleWares router.HandlersChain
125 cmd map[string]router.HandlersChain
126 pool sync.Pool
127}
128
129func (r *Router) Use(funcs ...router.HandlerFunc) router.IRoutes {
130 r.MiddleWares = append(r.MiddleWares, funcs...)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected