Documentation ¶
Overview ¶
Code generated by github.com/pace/bricks DO NOT EDIT.
Index ¶
- func GetTestHandler(service GetTestHandlerService) http.Handler
- func GetTestHandlerWithFallbackHelper(service interface{}, fallback http.Handler) http.Handler
- func Router(service interface{}) *mux.Router
- func RouterWithFallback(service interface{}, fallback http.Handler) *mux.Router
- type GetTestHandlerService
- type GetTestRequest
- type GetTestResponseWriter
- type Service
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetTestHandler ¶
func GetTestHandler(service GetTestHandlerService) http.Handler
GetTestHandler handles request/response marshaling and validation for
Get /beta/test
func GetTestHandlerWithFallbackHelper ¶ added in v0.1.100
GetTestHandlerWithFallbackHelper helper that checks if the given service fulfills the interface. Returns fallback handler if not, otherwise returns matching handler.
func Router ¶
Router implements: PACE Payment API
Welcome to the PACE Payment API documentation. This API is responsible for managing payment methods for users as well as authorizing payments on behalf of PACE services.
func RouterWithFallback ¶ added in v0.1.100
Router implements: PACE Payment API
Welcome to the PACE Payment API documentation. This API is responsible for managing payment methods for users as well as authorizing payments on behalf of PACE services.
Types ¶
type GetTestHandlerService ¶ added in v0.1.100
type GetTestHandlerService interface { // GetTest Test GetTest(context.Context, GetTestResponseWriter, *GetTestRequest) error }
Service interface for GetTestHandler handler
type GetTestRequest ¶
GetTestRequest is a standard http.Request extended with the un-marshaled content object
type GetTestResponseWriter ¶
type GetTestResponseWriter interface { http.ResponseWriter OK() }
GetTestResponseWriter is a standard http.ResponseWriter extended with methods to generate the respective responses easily
type Service ¶
type Service interface { GetTestHandlerService }
Legacy Interface. Use this if you want to fully implement a service.