mirror of
https://github.com/cubixle/tuu.git
synced 2026-04-30 15:38:47 +01:00
SAVEPOINT
This commit is contained in:
@@ -5,9 +5,11 @@ import "net/http"
|
||||
type Handler func(Context) error
|
||||
|
||||
type Router interface {
|
||||
Prefix(path string)
|
||||
GET(path string, h Handler)
|
||||
POST(path string, h Handler)
|
||||
Static(path string, root http.FileSystem)
|
||||
NotFound(path string. h Handler)
|
||||
|
||||
GetRoutes() []*Route
|
||||
GetStaticRoutes() []*StaticRoute
|
||||
|
||||
Reference in New Issue
Block a user