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