cfg

package
v0.0.0-...-8450a52 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 1, 2023 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

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 App

func App() core.AppLoader

func AppBearer

func AppBearer(appEngine core.APIEngine, config core.AppConfig) core.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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL