initial commit

This commit is contained in:
2017-11-10 06:54:12 +00:00
commit a189881568
6 changed files with 201 additions and 0 deletions

9
router.go Normal file
View File

@@ -0,0 +1,9 @@
package tuu
type Handler func(Context) error
type Router interface {
GET(path string, ctx Context)
POST(path string, ctx Context)
GetRoutes() []*Route
}