Documentation ¶
Index ¶
- type App
- func (app *App) Delete(path string, f func(w http.ResponseWriter, r *http.Request))
- func (app *App) Get(path string, f func(w http.ResponseWriter, r *http.Request))
- func (app *App) Init()
- func (app *App) Post(path string, f func(w http.ResponseWriter, r *http.Request))
- func (app *App) Put(path string, f func(w http.ResponseWriter, r *http.Request))
- func (app *App) Run(port string)
- type RequestHandlerFunction
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type App ¶
Type App has a router and DB
type RequestHandlerFunction ¶
Function type to pass db instance to handler
Click to show internal directories.
Click to hide internal directories.