Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MethodRouter ¶
MethodRouter beepboop.
func NewMethodRouter ¶
func NewMethodRouter() *MethodRouter
NewMethodRouter creates a new method router.
func (*MethodRouter) HandleFunc ¶
func (mr *MethodRouter) HandleFunc(path string, f func(http.ResponseWriter, *http.Request), methods ...string) *mux.Route
HandleFunc registers a route that handles both paths and methods.
Click to show internal directories.
Click to hide internal directories.