Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func UseJulienHTTPRouter ¶
func UseJulienHTTPRouter() router.Registrator
Types ¶
type ChiRouter ¶
type ChiRouter struct {
// contains filtered or unexported fields
}
func UseChiRouter ¶
func UseChiRouter() *ChiRouter
func (*ChiRouter) AddMiddlewareWrapper ¶
func (h *ChiRouter) AddMiddlewareWrapper(wrapper ...middleware.Wrapper) router.Registrator
type JulienSchmidtHTTPRouter ¶
type JulienSchmidtHTTPRouter struct {
// contains filtered or unexported fields
}
func (*JulienSchmidtHTTPRouter) AddMiddlewareWrapper ¶
func (h *JulienSchmidtHTTPRouter) AddMiddlewareWrapper(wrapper ...middleware.Wrapper) router.Registrator
func (*JulienSchmidtHTTPRouter) Register ¶
func (h *JulienSchmidtHTTPRouter) Register(method, path string, handler router.HandlerFunc)
func (*JulienSchmidtHTTPRouter) ServeHTTP ¶
func (h *JulienSchmidtHTTPRouter) ServeHTTP(w http.ResponseWriter, r *http.Request)
Click to show internal directories.
Click to hide internal directories.