Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type APIChecker ¶
type APIChecker struct { Mux goahttp.Muxer Middleware []middleware Decoder decoder Encoder encoder ErrorHandler errorHandler Formatter formatter }
APIChecker represents the API checker.
func (*APIChecker) Mount ¶
func (c *APIChecker) Mount(builder HandlerBuilder, mounter HandlerMounter, endpoint goa.Endpoint, middlewares ...middleware)
Mount mounts the endpoint handler.
func (APIChecker) Test ¶
Test returns a http checker that tests the endpoint. see. https://github.com/ikawaha/httpcheck/
type HandlerBuilder ¶
type HandlerBuilder func(goa.Endpoint, goahttp.Muxer, decoder, encoder, errorHandler, formatter) http.Handler
HandlerBuilder represents the goa http handler builder.
type HandlerMounter ¶
HandlerMounter represents the goa http handler mounter.
Click to show internal directories.
Click to hide internal directories.