Documentation ¶
Index ¶
- func NewLib() database.Database
- type Modules
- func (c *Modules) Init(lo logger.Logger) database.Database
- func (c *Modules) LoadEmbedded(config database.EmbeddedOptions) database.Embedded
- func (c *Modules) LoadMongo(tag string, config database.MongoProviderConfig) database.Mongo
- func (c *Modules) LoadRedis(tag string, config database.RedisProviderConfig) database.Redis
- func (c *Modules) LoadSQL(tag string, config database.SQLConfig) database.SQL
- func (c *Modules) SetTracer(tr tracing.Tracing)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.