Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Handler ¶
type Handler struct { Config // Must always return a valid HTTP status code, for both nil and non-nil error. Fun func(context.Context, http.ResponseWriter, *http.Request) (int, error) Endpoint types.Endpoint Method string }
Handler implements the http.Handler interface
func (Handler) Register ¶ added in v0.7.0
Click to show internal directories.
Click to hide internal directories.