Documentation ¶
Index ¶
- func NewMux() unimux.Mux
- type Mux
- func (mux *Mux) Close() error
- func (mux *Mux) Delete(path string, handler http.HandlerFunc) error
- func (mux *Mux) Get(path string, handler http.HandlerFunc) error
- func (mux *Mux) GetHTTPHandler() http.Handler
- func (mux *Mux) Head(path string, handler http.HandlerFunc) error
- func (mux *Mux) Options(path string, handler http.HandlerFunc) error
- func (mux *Mux) Patch(path string, handler http.HandlerFunc) error
- func (mux *Mux) Post(path string, handler http.HandlerFunc) error
- func (mux *Mux) Put(path string, handler http.HandlerFunc) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Mux ¶
type Mux struct {
// contains filtered or unexported fields
}
Router implementation using go-zoo/bone
func (*Mux) Delete ¶ added in v0.0.30
func (mux *Mux) Delete(path string, handler http.HandlerFunc) error
func (*Mux) GetHTTPHandler ¶
GetHTTPHandler returns a handler compatible with net/http
func (*Mux) Head ¶ added in v0.0.30
func (mux *Mux) Head(path string, handler http.HandlerFunc) error
func (*Mux) Options ¶ added in v0.0.30
func (mux *Mux) Options(path string, handler http.HandlerFunc) error
Click to show internal directories.
Click to hide internal directories.