Documentation ¶
Index ¶
- type Handler
- func CheckMethodHandler(endpoint, wantMethod string) Handler
- func CheckPayloadHandler(endpoint string, wantPayload interface{}, wantMethod string) Handler
- func NewHandler(endpoint string, handlerFunc func(http.ResponseWriter, *http.Request)) Handler
- func PrintJsonHandler(endpoint string, payload interface{}, wantMethod string) Handler
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Handler ¶
type Handler struct {
// contains filtered or unexported fields
}
func CheckMethodHandler ¶
func CheckPayloadHandler ¶
func NewHandler ¶
func PrintJsonHandler ¶
func (Handler) GetEndpoint ¶
func (Handler) GetHandlerFunc ¶
func (h Handler) GetHandlerFunc() func(http.ResponseWriter, *http.Request)
Click to show internal directories.
Click to hide internal directories.