| 22 | import "github.com/IceFireDB/components-go/RESPHandle" |
| 23 | |
| 24 | type 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 | |
| 33 | type HandlerFunc func(*Context) error |
| 34 |
no outgoing calls
no test coverage detected