Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ClientSet ¶
type ClientSet struct { AdditionEndpoint endpoint.Endpoint SubtractionEndpoint endpoint.Endpoint MultiplicationEndpoint endpoint.Endpoint DivisionEndpoint endpoint.Endpoint }
ClientSet collects all of the endpoints that compose an add service.
func NewClientSet ¶
NewClientSet create a new set of HTTP handler that compose a CalculatorService.
type HandlerSet ¶
type HandlerSet struct { AdditionHandler http.Handler SubtractionHandler http.Handler MultiplicationHandler http.Handler DivisionHandler http.Handler GraphqlHandler http.Handler }
HandlerSet collects all of the endpoints that compose an add service.
func NewHandlerSet ¶
func NewHandlerSet(e gptendpoint.Set) HandlerSet
NewHandlerSet create a new set of HTTP handler that compose a CalculatorService.
Click to show internal directories.
Click to hide internal directories.