SAVEPOINT

This commit is contained in:
luke.rodham
2017-11-13 15:12:13 +00:00
parent 866e0da047
commit 2f157585d6
3 changed files with 22 additions and 2 deletions
+2
View File
@@ -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