Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Application ¶
type Application struct { BootOptions BootstrapOptions ServerOptions server.Options Registry registry.IRegistry Mq mq.IClient Redis *redis.RedisClient IdWorker *idworker.Worker ConfigCenter config.IConfig }
var MthApplication *Application
func (*Application) Bootstrap ¶ added in v0.5.1
func (app *Application) Bootstrap(options Options)
func (*Application) BootstrapAll ¶ added in v0.5.1
func (app *Application) BootstrapAll(options Options)
func (*Application) ShutDown ¶
func (app *Application) ShutDown()
func (*Application) StartDb ¶
func (app *Application) StartDb()
func (*Application) StartLogger ¶
func (app *Application) StartLogger()
func (*Application) StartWebServer ¶
func (app *Application) StartWebServer(srv server.Server, gracefulShutDown ...func())
type BootstrapOptions ¶
Click to show internal directories.
Click to hide internal directories.