Documentation ¶
Index ¶
- type Config
- type Engine
- func (engine *Engine) GetGin() *gin.Engine
- func (engine *Engine) RegisterFeature(Cmd string, Instance LiquidSDK.CommandSystem)
- func (engine *Engine) RegisterGin(featureName string, router func(*gin.Engine))
- func (engine *Engine) RegisterMember(MemberType string, MemberInstance LiquidSDK.MemberSystem)
- func (engine *Engine) Serve(opts ...*options.ServeOptions)
- func (engine *Engine) UsingCacheDBService()
- func (engine *Engine) UsingDocumentDBService()
- func (engine *Engine) UsingMsgQueueService()
- func (engine *Engine) UsingRDBService()
- type IConfig
- type IEngine
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { App *settings.AppConf Gin *settings.GinConf AMQP *settings.AMQPConf CacheDB *settings.CacheDbConf DocDB *settings.DocDbConf RDB *settings.RDBConf // contains filtered or unexported fields }
func (*Config) LoadExternalEnv ¶
func (config *Config) LoadExternalEnv(envPrefix string, conf interface{}, opts ...*options.LoadEnvOptions)
type Engine ¶
func (*Engine) RegisterFeature ¶
func (engine *Engine) RegisterFeature(Cmd string, Instance LiquidSDK.CommandSystem)
func (*Engine) RegisterGin ¶
func (*Engine) RegisterMember ¶
func (engine *Engine) RegisterMember(MemberType string, MemberInstance LiquidSDK.MemberSystem)
func (*Engine) Serve ¶
func (engine *Engine) Serve(opts ...*options.ServeOptions)
func (*Engine) UsingCacheDBService ¶
func (engine *Engine) UsingCacheDBService()
func (*Engine) UsingDocumentDBService ¶
func (engine *Engine) UsingDocumentDBService()
func (*Engine) UsingMsgQueueService ¶
func (engine *Engine) UsingMsgQueueService()
func (*Engine) UsingRDBService ¶
func (engine *Engine) UsingRDBService()
Click to show internal directories.
Click to hide internal directories.