Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewHTTPServer ¶ added in v2.6.0
NewHTTPServer builds the shared HTTP/gRPC server and registers its lifecycle.
Types ¶
type HTTPServerParams ¶ added in v2.6.0
type HTTPServerParams struct {
fx.In
AppCtx context.Context
Config *config.Config
Router *echo.Echo
TunnelServer *edge.TunnelServer
Scheduler schedulertypes.JobScheduler
}
type RouterParams ¶ added in v2.6.0
type RouterParams struct {
fx.In
Context context.Context
Lifecycle fx.Lifecycle
Config *config.Config
HandlerDeps api.HandlerDeps
AuthMiddleware *auth.AuthMiddleware
TunnelRegistry *edge.TunnelRegistry
}
Click to show internal directories.
Click to hide internal directories.