Documentation
¶
Index ¶
- Variables
- func NewRouter() *gin.Engine
- func NewServer(ctx *config.BaseContext, config *config.Config, router *gin.Engine) *http.Server
- func RegisterPublishAPI(logger *zap.Logger, kafkaWriter *kafka.Writer, router *gin.Engine)
- func StartServer(lc fx.Lifecycle, baseCtx *config.BaseContext, logger *zap.Logger, ...)
Constants ¶
This section is empty.
Variables ¶
View Source
var Fx = fx.Options( fx.Provide(NewRouter), fx.Invoke(RegisterPublishAPI), fx.Provide(NewServer), fx.Invoke(StartServer), )
Functions ¶
func RegisterPublishAPI ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.