Documentation
¶
Overview ¶
Package web contains the web server and registered routes
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConfigureHTTPServers ¶
func ConfigureHTTPServers(lifecycle fx.Lifecycle, shutdowner fx.Shutdowner) (*echo.Echo, error)
ConfigureHTTPServers creates an HTTP server with standard middleware and a system HTTP server with health and metrics endpoints returns the echo engine for serving API
func RegisterHandlers ¶
func RegisterHandlers(e *echo.Echo, whService WebhookService) error
RegisterHandlers adds the method handlers for the supported routes
Types ¶
type WebhookService ¶
type WebhookService interface { HandleConfigureInstallationEndpoint(c echo.Context) error HandleDiscoverCertificates(c echo.Context) error HandleGetTargetConfiguration(c echo.Context) error HandleInstallCertificateBundle(c echo.Context) error HandleTestConnection(c echo.Context) error }
WebhookService interfaces for the connector operation functions
Click to show internal directories.
Click to hide internal directories.