Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ContactsSaveContactsHandler ¶
type ContactsSaveContactsHandler struct { Dependencies *module.Dependencies // contains filtered or unexported fields }
ContactsSaveContactsHandler is the handler for "/contacts/:userUUID/contacts"
func NewContactsSaveContactsHandler ¶
func NewContactsSaveContactsHandler(deps *module.Dependencies) *ContactsSaveContactsHandler
NewContactsSaveContactsHandler creates a handler
func (*ContactsSaveContactsHandler) HandleRequest ¶
func (h *ContactsSaveContactsHandler) HandleRequest( ctx context.Context, req *zanzibar.ServerHTTPRequest, res *zanzibar.ServerHTTPResponse, )
HandleRequest handles "/contacts/:userUUID/contacts".
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 {
ContactsSaveContactsHandler *ContactsSaveContactsHandler
}
EndpointHandlers is a collection of individual endpoint handlers
Source Files ¶
Click to show internal directories.
Click to hide internal directories.