httproutermux

package
v0.0.42 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 21, 2019 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewMux

func NewMux() unimux.Mux

NewMux returns an implementation of the mux using httprouter

Types

type Mux

type Mux struct {
	// contains filtered or unexported fields
}

func (*Mux) Close

func (mux *Mux) Close() error

func (*Mux) Delete added in v0.0.30

func (mux *Mux) Delete(path string, handler http.HandlerFunc) error

func (*Mux) Get

func (mux *Mux) Get(path string, handler http.HandlerFunc) error

func (*Mux) GetHTTPHandler added in v0.0.20

func (mux *Mux) GetHTTPHandler() http.Handler

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

func (*Mux) Patch added in v0.0.30

func (mux *Mux) Patch(path string, handler http.HandlerFunc) error

func (*Mux) Post

func (mux *Mux) Post(path string, handler http.HandlerFunc) error

func (*Mux) Put added in v0.0.30

func (mux *Mux) Put(path string, handler http.HandlerFunc) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL