Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Endpoint ¶
Endpoint registers a request handler on a gateway
func NewEndpoint ¶
func NewEndpoint(deps *module.Dependencies) Endpoint
NewEndpoint returns a collection of endpoints that can be registered on a gateway
type EndpointHandlers ¶
type EndpointHandlers struct { ServiceAFrontHelloHandler *ServiceAFrontHelloHandler ServiceBFrontHelloHandler *ServiceBFrontHelloHandler }
EndpointHandlers is a collection of individual endpoint handlers
type ServiceAFrontHelloHandler ¶
type ServiceAFrontHelloHandler struct { Dependencies *module.Dependencies // contains filtered or unexported fields }
ServiceAFrontHelloHandler is the handler for "/multi/serviceA_f/hello"
func NewServiceAFrontHelloHandler ¶
func NewServiceAFrontHelloHandler(deps *module.Dependencies) *ServiceAFrontHelloHandler
NewServiceAFrontHelloHandler creates a handler
func (*ServiceAFrontHelloHandler) HandleRequest ¶
func (h *ServiceAFrontHelloHandler) HandleRequest( ctx context.Context, req *zanzibar.ServerHTTPRequest, res *zanzibar.ServerHTTPResponse, )
HandleRequest handles "/multi/serviceA_f/hello".
type ServiceBFrontHelloHandler ¶
type ServiceBFrontHelloHandler struct { Dependencies *module.Dependencies // contains filtered or unexported fields }
ServiceBFrontHelloHandler is the handler for "/multi/serviceB_f/hello"
func NewServiceBFrontHelloHandler ¶
func NewServiceBFrontHelloHandler(deps *module.Dependencies) *ServiceBFrontHelloHandler
NewServiceBFrontHelloHandler creates a handler
func (*ServiceBFrontHelloHandler) HandleRequest ¶
func (h *ServiceBFrontHelloHandler) HandleRequest( ctx context.Context, req *zanzibar.ServerHTTPRequest, res *zanzibar.ServerHTTPResponse, )
HandleRequest handles "/multi/serviceB_f/hello".
Source Files ¶
Click to show internal directories.
Click to hide internal directories.