Documentation
¶
Index ¶
- type Aero
- func (aero *Aero) Delete(path string, handlers ...http.HandlerFunc)
- func (aero *Aero) Get(path string, handlers ...http.HandlerFunc)
- func (aero *Aero) Head(path string, handlers ...http.HandlerFunc)
- func (aero *Aero) Options(path string, handlers ...http.HandlerFunc)
- func (aero *Aero) Patch(path string, handlers ...http.HandlerFunc)
- func (aero *Aero) Post(path string, handlers ...http.HandlerFunc)
- func (aero *Aero) Put(path string, handlers ...http.HandlerFunc)
- func (aero *Aero) ServeHTTP(w http.ResponseWriter, r *http.Request)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Aero ¶
type Aero struct { NotFound http.HandlerFunc // contains filtered or unexported fields }
Aero is a router handler
func (*Aero) Delete ¶
func (aero *Aero) Delete(path string, handlers ...http.HandlerFunc)
Delete is to add a new DELETE route to the router
func (*Aero) Get ¶
func (aero *Aero) Get(path string, handlers ...http.HandlerFunc)
Get is to add a new GET route to the router
func (*Aero) Head ¶
func (aero *Aero) Head(path string, handlers ...http.HandlerFunc)
Head is to add a new HEAD route to the router
func (*Aero) Options ¶
func (aero *Aero) Options(path string, handlers ...http.HandlerFunc)
Options is to add a new OPTIONS route to the router
func (*Aero) Patch ¶
func (aero *Aero) Patch(path string, handlers ...http.HandlerFunc)
Patch is to add a new PATCH route to the router
func (*Aero) Post ¶
func (aero *Aero) Post(path string, handlers ...http.HandlerFunc)
Post is to add a new POST route to the router
func (*Aero) Put ¶
func (aero *Aero) Put(path string, handlers ...http.HandlerFunc)
Put is to add a new PUT route to the router
Click to show internal directories.
Click to hide internal directories.