Documentation ¶
Index ¶
- Constants
- type Router
- func (r *Router) AddCommand(operation string, handlers ...router.HandlerFunc) router.IRoutes
- func (r *Router) Close() error
- func (r *Router) Do(cmd string, args ...interface{}) (reply interface{}, err error)
- func (r *Router) Handle(w *RESPHandle.WriterHandle, args []interface{}) error
- func (r *Router) InitCMD()
- func (r *Router) Sync(args []interface{}) error
- func (r *Router) Use(funcs ...router.HandlerFunc) router.IRoutes
Constants ¶
View Source
const CMDEXEC = "CMDEXEC"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Router ¶
type Router struct { MiddleWares router.HandlersChain // contains filtered or unexported fields }
func (*Router) AddCommand ¶
func (*Router) Handle ¶
func (r *Router) Handle(w *RESPHandle.WriterHandle, args []interface{}) error
Click to show internal directories.
Click to hide internal directories.