Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type DynamicRouter ¶
type DynamicRouter struct {
// contains filtered or unexported fields
}
Router is a wrapper around chi.Router
func NewRouterWithMux ¶
func NewRouterWithMux(mux *chi.Mux) *DynamicRouter
NewRouter creates a new router
func (*DynamicRouter) ReplaceMux ¶
func (r *DynamicRouter) ReplaceMux(router *chi.Mux)
ReplaceRouter replaces the router
func (*DynamicRouter) ServeHTTP ¶
func (r *DynamicRouter) ServeHTTP(w http.ResponseWriter, req *http.Request)
ServeHTTP is a wrapper around chi.Router.ServeHTTP
Click to show internal directories.
Click to hide internal directories.