Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func StartService ¶
StartService initialize plugins, starts listening and network services applicationUp function will be run after initialized plugins applicationDown function will be run before unload plugins
Types ¶
type Engine ¶
type Engine interface { plugins.Logger Stop() (err error) MasterData() plugins.MasterDataManager LBClient(id string) *plugins.LBClient Cache(id string) *plugins.Cache Redis(id string) *plugins.Redis Mongo(id string) *plugins.Mongo MySQL(id string) *plugins.MySQL Sqlite(id string) *plugins.Sqlite Now() time.Time AppConfig() string Context() context.Context UserValue(key string) (value interface{}, ok bool) SetUserValue(key string, value interface{}) }
Engine is interface of engine implements
Click to show internal directories.
Click to hide internal directories.