Documentation ¶
Index ¶
- type ServeMux
- func (mux *ServeMux) Before(mw middleware.Middleware)
- func (mux *ServeMux) Group(routeGroup func(mux *ServeMux))
- func (mux *ServeMux) Handle(pattern string, handler http.Handler, names ...string)
- func (mux *ServeMux) HandleFunc(pattern string, handler func(http.ResponseWriter, *http.Request), ...)
- func (mux *ServeMux) Named(name, pattern string)
- func (mux *ServeMux) Path(name string, paramArgPairs ...any) string
- func (mux *ServeMux) ServeHTTP(w http.ResponseWriter, r *http.Request)
- func (mux *ServeMux) Use(mw middleware.Middleware)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ServeMux ¶
func NewServeMux ¶
func NewServeMux() *ServeMux
func (*ServeMux) Before ¶
func (mux *ServeMux) Before(mw middleware.Middleware)
func (*ServeMux) HandleFunc ¶
func (*ServeMux) Use ¶
func (mux *ServeMux) Use(mw middleware.Middleware)
Click to show internal directories.
Click to hide internal directories.