(s *router.Context)
| 30 | ) |
| 31 | |
| 32 | func (r *Router) cmdCOMMAND(s *router.Context) error { |
| 33 | // can not reply nil object, it will cause panic when use redis-cli(7.0.3) |
| 34 | return router.WriteSimpleString(s.Writer, okReply) |
| 35 | } |
| 36 | |
| 37 | func (r *Router) cmdPING(s *router.Context) error { |
| 38 | s.Reply = pongReply |
nothing calls this directly
no test coverage detected