Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Handler ¶
type Handler func(ctx context.Context, mc path.MatchingContext) (response.HttpResponse, error)
A Handler is a function that process a path.MatchingContext and returns a response.HttpResponse or an error
func Handler2Handler ¶
The Handler2Handler adapts a GO http.Handler to a Handler
func HandlerFunc2Handler ¶
func HandlerFunc2Handler(handlerFunc http.HandlerFunc) Handler
The HandlerFunc2Handler adapts a GO http.HandlerFunc to a Handler
Click to show internal directories.
Click to hide internal directories.