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 {
WithExceptionsFunc1Handler *WithExceptionsFunc1Handler
}
EndpointHandlers is a collection of individual endpoint handlers
type WithExceptionsFunc1Handler ¶
type WithExceptionsFunc1Handler struct { Dependencies *module.Dependencies // contains filtered or unexported fields }
WithExceptionsFunc1Handler is the handler for "/withexceptions/func1"
func NewWithExceptionsFunc1Handler ¶
func NewWithExceptionsFunc1Handler(deps *module.Dependencies) *WithExceptionsFunc1Handler
NewWithExceptionsFunc1Handler creates a handler
func (*WithExceptionsFunc1Handler) HandleRequest ¶
func (h *WithExceptionsFunc1Handler) HandleRequest( ctx context.Context, req *zanzibar.ServerHTTPRequest, res *zanzibar.ServerHTTPResponse, ) context.Context
HandleRequest handles "/withexceptions/func1".
Source Files ¶
Click to show internal directories.
Click to hide internal directories.