Documentation ¶
Index ¶
- type App
- func (a *App) Del(path string, h interface{})
- func (a *App) Get(path string, h interface{})
- func (a *App) Head(path string, h interface{})
- func (a *App) Listen(addr string) error
- func (a *App) Options(path string, h interface{})
- func (a *App) Post(path string, h interface{})
- func (a *App) Put(path string, h interface{})
- func (a *App) ServeHTTP(w http.ResponseWriter, r *http.Request)
- func (a *App) Use(mw ...alice.Constructor)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type App ¶
type App struct {
// contains filtered or unexported fields
}
App builder.
func (*App) Get ¶
Get will register a pattern with a handler for GET requests. The handler given is also registered for HEAD requests.
Click to show internal directories.
Click to hide internal directories.