added sessions and flash storage

This commit is contained in:
2018-04-07 14:37:07 +01:00
parent 971f157307
commit b8f8c995c1
10 changed files with 263 additions and 39 deletions

View File

@@ -5,6 +5,7 @@ import "net/http"
type Handler func(Context) error
type Router interface {
SetApp(app *App)
GET(path string, h Handler)
POST(path string, h Handler)
Static(path string, root http.FileSystem)