Documentation ¶
Index ¶
- Variables
- func InitConfig(confPath string)
- func InitEngine(ginMode string) *gin.Engine
- func InitRabbitMQ(rabbitURI string, prefetchCount int)
- func ParseArgs(defaultPort, defaultConfigPath string) (string, string)
- func SetupGracefulShutdown(port string, engine *gin.Engine)
- func SetupGracefulShutdownForObserver(cancel context.CancelFunc)
Constants ¶
This section is empty.
Variables ¶
View Source
var ( Build = "dev" Date = time.Now().String() )
Functions ¶
func InitConfig ¶
func InitConfig(confPath string)
func InitEngine ¶
func InitRabbitMQ ¶
func SetupGracefulShutdown ¶
func SetupGracefulShutdownForObserver ¶
func SetupGracefulShutdownForObserver(cancel context.CancelFunc)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.