Documentation ¶
Index ¶
- func RunHTTPGateway(lc fx.Lifecycle, s fx.Shutdowner, logger *zap.Logger, config *Config, ...) error
- func RunHealthServer(lc fx.Lifecycle, s fx.Shutdowner, config *Config, logger *zap.Logger, ...)
- func RunLivenessGateway(lc fx.Lifecycle, s fx.Shutdowner, logger *zap.Logger, config *Config, ...) error
- func RunRegisteredGRPCServer(lc fx.Lifecycle, s fx.Shutdowner, logger *zap.Logger, gs *GRPCServer)
- type Config
- type GRPCConfig
- type GRPCServer
- type HTTPGatewayConfig
- type HTTPGatewayHandler
- type HealthConfig
- type LivenessGatewayConfig
- type LivenessGatewayHandler
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RunHTTPGateway ¶ added in v0.0.3
func RunHTTPGateway(lc fx.Lifecycle, s fx.Shutdowner, logger *zap.Logger, config *Config, g *HTTPGatewayHandler) error
func RunHealthServer ¶ added in v0.0.3
func RunHealthServer(lc fx.Lifecycle, s fx.Shutdowner, config *Config, logger *zap.Logger, sn toolkitfx.ServiceName)
func RunLivenessGateway ¶ added in v0.0.3
func RunLivenessGateway(lc fx.Lifecycle, s fx.Shutdowner, logger *zap.Logger, config *Config, h *LivenessGatewayHandler) error
func RunRegisteredGRPCServer ¶ added in v0.0.3
func RunRegisteredGRPCServer(lc fx.Lifecycle, s fx.Shutdowner, logger *zap.Logger, gs *GRPCServer)
Types ¶
type Config ¶
type Config struct { GRPC GRPCConfig Health HealthConfig HTTPGateway HTTPGatewayConfig LivenessGateway LivenessGatewayConfig }
type GRPCConfig ¶
type GRPCServer ¶
type HTTPGatewayConfig ¶ added in v0.0.4
type HTTPGatewayHandler ¶ added in v0.0.4
type HealthConfig ¶
type LivenessGatewayConfig ¶ added in v0.0.4
type LivenessGatewayHandler ¶ added in v0.0.4
Click to show internal directories.
Click to hide internal directories.