Documentation ¶
Index ¶
- Variables
- func App() core.AppLoader
- func AppBearer(appEngine core.APIEngine, config core.AppConfig) core.AppBearer
- func Database() core.DatabaseLoader
- func DatabaseBearer(databases map[string]db.DB, configs map[string]core.DatabaseConfig) core.DatabaseBearer
- func Plugin() core.PluginLoader
- func PluginBearer(plugins map[string]entity.Plugin) core.PluginBearer
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrDatabasesIsNotExists = errors.New("Database is not exists")
ErrDatabasesIsNotExists thrown when database is not exists or not initialized yet in database bearer
Functions ¶
func AppBearer ¶
TODO: Differentiate engine with baseAPIEngine and pluginAPIEngine Also create injector for both baseAPIEngine and pluginAPIEngine
func Database ¶
func Database() core.DatabaseLoader
func DatabaseBearer ¶
func DatabaseBearer(databases map[string]db.DB, configs map[string]core.DatabaseConfig) core.DatabaseBearer
DatabaseBearer handling on retrieval database instance
func Plugin ¶
func Plugin() core.PluginLoader
func PluginBearer ¶
func PluginBearer(plugins map[string]entity.Plugin) core.PluginBearer
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.