Documentation
¶
Index ¶
- type WebBrokerAPIDeploymentHandler
- func (h *WebBrokerAPIDeploymentHandler) DeleteDeployment(w http.ResponseWriter, r *http.Request)
- func (h *WebBrokerAPIDeploymentHandler) DeployWebBrokerAPI(w http.ResponseWriter, r *http.Request)
- func (h *WebBrokerAPIDeploymentHandler) GetDeployment(w http.ResponseWriter, r *http.Request)
- func (h *WebBrokerAPIDeploymentHandler) GetDeployments(w http.ResponseWriter, r *http.Request)
- func (h *WebBrokerAPIDeploymentHandler) RegisterRoutes(mux *http.ServeMux)
- func (h *WebBrokerAPIDeploymentHandler) RestoreDeployment(w http.ResponseWriter, r *http.Request)
- func (h *WebBrokerAPIDeploymentHandler) UndeployDeployment(w http.ResponseWriter, r *http.Request)
- type WebBrokerAPIHandler
- func (h *WebBrokerAPIHandler) CreateWebBrokerAPI(w http.ResponseWriter, r *http.Request)
- func (h *WebBrokerAPIHandler) DeleteWebBrokerAPI(w http.ResponseWriter, r *http.Request)
- func (h *WebBrokerAPIHandler) GetWebBrokerAPI(w http.ResponseWriter, r *http.Request)
- func (h *WebBrokerAPIHandler) ListWebBrokerAPIs(w http.ResponseWriter, r *http.Request)
- func (h *WebBrokerAPIHandler) RegisterRoutes(mux *http.ServeMux)
- func (h *WebBrokerAPIHandler) UpdateWebBrokerAPI(w http.ResponseWriter, r *http.Request)
- type WebBrokerAPIKeyHandler
- func (h *WebBrokerAPIKeyHandler) CreateAPIKey(w http.ResponseWriter, r *http.Request)
- func (h *WebBrokerAPIKeyHandler) DeleteAPIKey(w http.ResponseWriter, r *http.Request)
- func (h *WebBrokerAPIKeyHandler) RegisterRoutes(mux *http.ServeMux)
- func (h *WebBrokerAPIKeyHandler) UpdateAPIKey(w http.ResponseWriter, r *http.Request)
- type WebSubAPIDeploymentHandler
- func (h *WebSubAPIDeploymentHandler) DeleteDeployment(w http.ResponseWriter, r *http.Request)
- func (h *WebSubAPIDeploymentHandler) DeployWebSubAPI(w http.ResponseWriter, r *http.Request)
- func (h *WebSubAPIDeploymentHandler) GetDeployment(w http.ResponseWriter, r *http.Request)
- func (h *WebSubAPIDeploymentHandler) GetDeployments(w http.ResponseWriter, r *http.Request)
- func (h *WebSubAPIDeploymentHandler) RegisterRoutes(mux *http.ServeMux)
- func (h *WebSubAPIDeploymentHandler) RestoreDeployment(w http.ResponseWriter, r *http.Request)
- func (h *WebSubAPIDeploymentHandler) UndeployDeployment(w http.ResponseWriter, r *http.Request)
- type WebSubAPIHandler
- func (h *WebSubAPIHandler) CreateWebSubAPI(w http.ResponseWriter, r *http.Request)
- func (h *WebSubAPIHandler) DeleteWebSubAPI(w http.ResponseWriter, r *http.Request)
- func (h *WebSubAPIHandler) GetWebSubAPI(w http.ResponseWriter, r *http.Request)
- func (h *WebSubAPIHandler) ListWebSubAPIs(w http.ResponseWriter, r *http.Request)
- func (h *WebSubAPIHandler) RegisterRoutes(mux *http.ServeMux)
- func (h *WebSubAPIHandler) UpdateWebSubAPI(w http.ResponseWriter, r *http.Request)
- type WebSubAPIHmacSecretHandler
- func (h *WebSubAPIHmacSecretHandler) CreateHmacSecret(w http.ResponseWriter, r *http.Request)
- func (h *WebSubAPIHmacSecretHandler) DeleteHmacSecret(w http.ResponseWriter, r *http.Request)
- func (h *WebSubAPIHmacSecretHandler) ListHmacSecrets(w http.ResponseWriter, r *http.Request)
- func (h *WebSubAPIHmacSecretHandler) RegenerateHmacSecret(w http.ResponseWriter, r *http.Request)
- func (h *WebSubAPIHmacSecretHandler) RegisterRoutes(mux *http.ServeMux)
- type WebSubAPIKeyHandler
- func (h *WebSubAPIKeyHandler) CreateAPIKey(w http.ResponseWriter, r *http.Request)
- func (h *WebSubAPIKeyHandler) DeleteAPIKey(w http.ResponseWriter, r *http.Request)
- func (h *WebSubAPIKeyHandler) RegisterRoutes(mux *http.ServeMux)
- func (h *WebSubAPIKeyHandler) UpdateAPIKey(w http.ResponseWriter, r *http.Request)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type WebBrokerAPIDeploymentHandler ¶
type WebBrokerAPIDeploymentHandler struct {
// contains filtered or unexported fields
}
WebBrokerAPIDeploymentHandler handles deployment routes for WebBroker APIs
func NewWebBrokerAPIDeploymentHandler ¶
func NewWebBrokerAPIDeploymentHandler(webbrokerAPIDeploymentService *egservice.WebBrokerAPIDeploymentService, identity *service.IdentityService, slogger *slog.Logger) *WebBrokerAPIDeploymentHandler
NewWebBrokerAPIDeploymentHandler creates a new WebBrokerAPIDeploymentHandler
func (*WebBrokerAPIDeploymentHandler) DeleteDeployment ¶
func (h *WebBrokerAPIDeploymentHandler) DeleteDeployment(w http.ResponseWriter, r *http.Request)
DeleteDeployment handles DELETE /api/v0.9/webbroker-apis/:apiId/deployments/:deploymentId
func (*WebBrokerAPIDeploymentHandler) DeployWebBrokerAPI ¶
func (h *WebBrokerAPIDeploymentHandler) DeployWebBrokerAPI(w http.ResponseWriter, r *http.Request)
DeployWebBrokerAPI handles POST /api/v0.9/webbroker-apis/:apiId/deployments
func (*WebBrokerAPIDeploymentHandler) GetDeployment ¶
func (h *WebBrokerAPIDeploymentHandler) GetDeployment(w http.ResponseWriter, r *http.Request)
GetDeployment handles GET /api/v0.9/webbroker-apis/:apiId/deployments/:deploymentId
func (*WebBrokerAPIDeploymentHandler) GetDeployments ¶
func (h *WebBrokerAPIDeploymentHandler) GetDeployments(w http.ResponseWriter, r *http.Request)
GetDeployments handles GET /api/v0.9/webbroker-apis/:apiId/deployments
func (*WebBrokerAPIDeploymentHandler) RegisterRoutes ¶
func (h *WebBrokerAPIDeploymentHandler) RegisterRoutes(mux *http.ServeMux)
RegisterRoutes registers WebBroker API deployment routes
func (*WebBrokerAPIDeploymentHandler) RestoreDeployment ¶
func (h *WebBrokerAPIDeploymentHandler) RestoreDeployment(w http.ResponseWriter, r *http.Request)
RestoreDeployment handles POST /api/v0.9/webbroker-apis/:apiId/deployments/:deploymentId/restore
func (*WebBrokerAPIDeploymentHandler) UndeployDeployment ¶
func (h *WebBrokerAPIDeploymentHandler) UndeployDeployment(w http.ResponseWriter, r *http.Request)
UndeployDeployment handles POST /api/v0.9/webbroker-apis/:apiId/deployments/:deploymentId/undeploy
type WebBrokerAPIHandler ¶
type WebBrokerAPIHandler struct {
// contains filtered or unexported fields
}
WebBrokerAPIHandler handles CRUD and auxiliary routes for WebBroker APIs
func NewWebBrokerAPIHandler ¶
func NewWebBrokerAPIHandler(webbrokerAPIService *egservice.WebBrokerAPIService, identity *service.IdentityService, slogger *slog.Logger) *WebBrokerAPIHandler
NewWebBrokerAPIHandler creates a new WebBrokerAPIHandler instance
func (*WebBrokerAPIHandler) CreateWebBrokerAPI ¶
func (h *WebBrokerAPIHandler) CreateWebBrokerAPI(w http.ResponseWriter, r *http.Request)
CreateWebBrokerAPI handles POST /api/v0.9/webbroker-apis
func (*WebBrokerAPIHandler) DeleteWebBrokerAPI ¶
func (h *WebBrokerAPIHandler) DeleteWebBrokerAPI(w http.ResponseWriter, r *http.Request)
DeleteWebBrokerAPI handles DELETE /api/v0.9/webbroker-apis/:apiId
func (*WebBrokerAPIHandler) GetWebBrokerAPI ¶
func (h *WebBrokerAPIHandler) GetWebBrokerAPI(w http.ResponseWriter, r *http.Request)
GetWebBrokerAPI handles GET /api/v0.9/webbroker-apis/:apiId
func (*WebBrokerAPIHandler) ListWebBrokerAPIs ¶
func (h *WebBrokerAPIHandler) ListWebBrokerAPIs(w http.ResponseWriter, r *http.Request)
ListWebBrokerAPIs handles GET /api/v0.9/webbroker-apis
func (*WebBrokerAPIHandler) RegisterRoutes ¶
func (h *WebBrokerAPIHandler) RegisterRoutes(mux *http.ServeMux)
RegisterRoutes registers WebBroker API routes
func (*WebBrokerAPIHandler) UpdateWebBrokerAPI ¶
func (h *WebBrokerAPIHandler) UpdateWebBrokerAPI(w http.ResponseWriter, r *http.Request)
UpdateWebBrokerAPI handles PUT /api/v0.9/webbroker-apis/:apiId
type WebBrokerAPIKeyHandler ¶
type WebBrokerAPIKeyHandler struct {
// contains filtered or unexported fields
}
WebBrokerAPIKeyHandler handles API key operations for WebBroker APIs
func NewWebBrokerAPIKeyHandler ¶
func NewWebBrokerAPIKeyHandler(webbrokerAPIService *egservice.WebBrokerAPIService, apiKeyService *service.APIKeyService, identity *service.IdentityService, slogger *slog.Logger) *WebBrokerAPIKeyHandler
NewWebBrokerAPIKeyHandler creates a new WebBrokerAPIKeyHandler instance
func (*WebBrokerAPIKeyHandler) CreateAPIKey ¶
func (h *WebBrokerAPIKeyHandler) CreateAPIKey(w http.ResponseWriter, r *http.Request)
CreateAPIKey handles POST /api/v0.9/webbroker-apis/:apiId/api-keys
func (*WebBrokerAPIKeyHandler) DeleteAPIKey ¶
func (h *WebBrokerAPIKeyHandler) DeleteAPIKey(w http.ResponseWriter, r *http.Request)
DeleteAPIKey handles DELETE /api/v0.9/webbroker-apis/:apiId/api-keys/:keyName
func (*WebBrokerAPIKeyHandler) RegisterRoutes ¶
func (h *WebBrokerAPIKeyHandler) RegisterRoutes(mux *http.ServeMux)
RegisterRoutes registers WebBroker API key routes
func (*WebBrokerAPIKeyHandler) UpdateAPIKey ¶
func (h *WebBrokerAPIKeyHandler) UpdateAPIKey(w http.ResponseWriter, r *http.Request)
UpdateAPIKey handles PUT /api/v0.9/webbroker-apis/:apiId/api-keys/:keyName
type WebSubAPIDeploymentHandler ¶
type WebSubAPIDeploymentHandler struct {
// contains filtered or unexported fields
}
WebSubAPIDeploymentHandler handles deployment routes for WebSub APIs
func NewWebSubAPIDeploymentHandler ¶
func NewWebSubAPIDeploymentHandler(websubAPIDeploymentService *egservice.WebSubAPIDeploymentService, identity *service.IdentityService, slogger *slog.Logger) *WebSubAPIDeploymentHandler
NewWebSubAPIDeploymentHandler creates a new WebSubAPIDeploymentHandler
func (*WebSubAPIDeploymentHandler) DeleteDeployment ¶
func (h *WebSubAPIDeploymentHandler) DeleteDeployment(w http.ResponseWriter, r *http.Request)
DeleteDeployment handles DELETE /api/v0.9/websub-apis/:apiId/deployments/:deploymentId
func (*WebSubAPIDeploymentHandler) DeployWebSubAPI ¶
func (h *WebSubAPIDeploymentHandler) DeployWebSubAPI(w http.ResponseWriter, r *http.Request)
DeployWebSubAPI handles POST /api/v0.9/websub-apis/:apiId/deployments
func (*WebSubAPIDeploymentHandler) GetDeployment ¶
func (h *WebSubAPIDeploymentHandler) GetDeployment(w http.ResponseWriter, r *http.Request)
GetDeployment handles GET /api/v0.9/websub-apis/:apiId/deployments/:deploymentId
func (*WebSubAPIDeploymentHandler) GetDeployments ¶
func (h *WebSubAPIDeploymentHandler) GetDeployments(w http.ResponseWriter, r *http.Request)
GetDeployments handles GET /api/v0.9/websub-apis/:apiId/deployments
func (*WebSubAPIDeploymentHandler) RegisterRoutes ¶
func (h *WebSubAPIDeploymentHandler) RegisterRoutes(mux *http.ServeMux)
RegisterRoutes registers WebSub API deployment routes
func (*WebSubAPIDeploymentHandler) RestoreDeployment ¶
func (h *WebSubAPIDeploymentHandler) RestoreDeployment(w http.ResponseWriter, r *http.Request)
RestoreDeployment handles POST /api/v0.9/websub-apis/:apiId/deployments/:deploymentId/restore
func (*WebSubAPIDeploymentHandler) UndeployDeployment ¶
func (h *WebSubAPIDeploymentHandler) UndeployDeployment(w http.ResponseWriter, r *http.Request)
UndeployDeployment handles POST /api/v0.9/websub-apis/:apiId/deployments/:deploymentId/undeploy
type WebSubAPIHandler ¶
type WebSubAPIHandler struct {
// contains filtered or unexported fields
}
WebSubAPIHandler handles CRUD and auxiliary routes for WebSub APIs
func NewWebSubAPIHandler ¶
func NewWebSubAPIHandler(websubAPIService *egservice.WebSubAPIService, identity *service.IdentityService, slogger *slog.Logger) *WebSubAPIHandler
NewWebSubAPIHandler creates a new WebSubAPIHandler instance
func (*WebSubAPIHandler) CreateWebSubAPI ¶
func (h *WebSubAPIHandler) CreateWebSubAPI(w http.ResponseWriter, r *http.Request)
CreateWebSubAPI handles POST /api/v0.9/websub-apis
func (*WebSubAPIHandler) DeleteWebSubAPI ¶
func (h *WebSubAPIHandler) DeleteWebSubAPI(w http.ResponseWriter, r *http.Request)
DeleteWebSubAPI handles DELETE /api/v0.9/websub-apis/:apiId
func (*WebSubAPIHandler) GetWebSubAPI ¶
func (h *WebSubAPIHandler) GetWebSubAPI(w http.ResponseWriter, r *http.Request)
GetWebSubAPI handles GET /api/v0.9/websub-apis/:apiId
func (*WebSubAPIHandler) ListWebSubAPIs ¶
func (h *WebSubAPIHandler) ListWebSubAPIs(w http.ResponseWriter, r *http.Request)
ListWebSubAPIs handles GET /api/v0.9/websub-apis
func (*WebSubAPIHandler) RegisterRoutes ¶
func (h *WebSubAPIHandler) RegisterRoutes(mux *http.ServeMux)
RegisterRoutes registers WebSub API routes
func (*WebSubAPIHandler) UpdateWebSubAPI ¶
func (h *WebSubAPIHandler) UpdateWebSubAPI(w http.ResponseWriter, r *http.Request)
UpdateWebSubAPI handles PUT /api/v0.9/websub-apis/:apiId
type WebSubAPIHmacSecretHandler ¶
type WebSubAPIHmacSecretHandler struct {
// contains filtered or unexported fields
}
WebSubAPIHmacSecretHandler handles HMAC secret CRUD for WebSub APIs.
func NewWebSubAPIHmacSecretHandler ¶
func NewWebSubAPIHmacSecretHandler(secretService *egservice.WebSubAPIHmacSecretService, identity *service.IdentityService, slogger *slog.Logger) *WebSubAPIHmacSecretHandler
NewWebSubAPIHmacSecretHandler creates a new WebSubAPIHmacSecretHandler.
func (*WebSubAPIHmacSecretHandler) CreateHmacSecret ¶
func (h *WebSubAPIHmacSecretHandler) CreateHmacSecret(w http.ResponseWriter, r *http.Request)
CreateHmacSecret handles POST /api/v1/websub-apis/:apiId/secrets
func (*WebSubAPIHmacSecretHandler) DeleteHmacSecret ¶
func (h *WebSubAPIHmacSecretHandler) DeleteHmacSecret(w http.ResponseWriter, r *http.Request)
DeleteHmacSecret handles DELETE /api/v1/websub-apis/:apiId/secrets/:secretName
func (*WebSubAPIHmacSecretHandler) ListHmacSecrets ¶
func (h *WebSubAPIHmacSecretHandler) ListHmacSecrets(w http.ResponseWriter, r *http.Request)
ListHmacSecrets handles GET /api/v1/websub-apis/:apiId/secrets
func (*WebSubAPIHmacSecretHandler) RegenerateHmacSecret ¶
func (h *WebSubAPIHmacSecretHandler) RegenerateHmacSecret(w http.ResponseWriter, r *http.Request)
RegenerateHmacSecret handles POST /api/v1/websub-apis/:apiId/secrets/:secretName/regenerate
func (*WebSubAPIHmacSecretHandler) RegisterRoutes ¶
func (h *WebSubAPIHmacSecretHandler) RegisterRoutes(mux *http.ServeMux)
RegisterRoutes registers the HMAC secret routes.
type WebSubAPIKeyHandler ¶
type WebSubAPIKeyHandler struct {
// contains filtered or unexported fields
}
WebSubAPIKeyHandler handles API key operations for WebSub APIs
func NewWebSubAPIKeyHandler ¶
func NewWebSubAPIKeyHandler(websubAPIService *egservice.WebSubAPIService, apiKeyService *service.APIKeyService, identity *service.IdentityService, slogger *slog.Logger) *WebSubAPIKeyHandler
NewWebSubAPIKeyHandler creates a new WebSubAPIKeyHandler instance
func (*WebSubAPIKeyHandler) CreateAPIKey ¶
func (h *WebSubAPIKeyHandler) CreateAPIKey(w http.ResponseWriter, r *http.Request)
CreateAPIKey handles POST /api/v0.9/websub-apis/:apiId/api-keys
func (*WebSubAPIKeyHandler) DeleteAPIKey ¶
func (h *WebSubAPIKeyHandler) DeleteAPIKey(w http.ResponseWriter, r *http.Request)
DeleteAPIKey handles DELETE /api/v0.9/websub-apis/:apiId/api-keys/:keyName
func (*WebSubAPIKeyHandler) RegisterRoutes ¶
func (h *WebSubAPIKeyHandler) RegisterRoutes(mux *http.ServeMux)
RegisterRoutes registers WebSub API key routes
func (*WebSubAPIKeyHandler) UpdateAPIKey ¶
func (h *WebSubAPIKeyHandler) UpdateAPIKey(w http.ResponseWriter, r *http.Request)
UpdateAPIKey handles PUT /api/v0.9/websub-apis/:apiId/api-keys/:keyName