Documentation ¶
Index ¶
- func DatabaseFactory(conf config.Database) (db database.Database, err error)
- func RelationshipReaderFactory(db database.Database, logger logger.Interface) (repo repositories.RelationshipReader)
- func RelationshipWriterFactory(db database.Database, logger logger.Interface) (repo repositories.RelationshipWriter)
- func SchemaReaderFactory(db database.Database, logger logger.Interface) (repo repositories.SchemaReader)
- func SchemaWriterFactory(db database.Database, logger logger.Interface) (repo repositories.SchemaWriter)
- func TenantReaderFactory(db database.Database, logger logger.Interface) (repo repositories.TenantReader)
- func TenantWriterFactory(db database.Database, logger logger.Interface) (repo repositories.TenantWriter)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DatabaseFactory ¶
DatabaseFactory - Create database according to given configuration
func RelationshipReaderFactory ¶
func RelationshipReaderFactory(db database.Database, logger logger.Interface) (repo repositories.RelationshipReader)
RelationshipReaderFactory - Return relationship read operations according to given database interface
func RelationshipWriterFactory ¶
func RelationshipWriterFactory(db database.Database, logger logger.Interface) (repo repositories.RelationshipWriter)
RelationshipWriterFactory - Return relationship write operations according to given database interface
func SchemaReaderFactory ¶
func SchemaReaderFactory(db database.Database, logger logger.Interface) (repo repositories.SchemaReader)
SchemaReaderFactory - Return schema read operations according to given database interface
func SchemaWriterFactory ¶
func SchemaWriterFactory(db database.Database, logger logger.Interface) (repo repositories.SchemaWriter)
SchemaWriterFactory - Return schema write operations according to given database interface
func TenantReaderFactory ¶
func TenantReaderFactory(db database.Database, logger logger.Interface) (repo repositories.TenantReader)
TenantReaderFactory - Return tenant read operations according to given database interface
func TenantWriterFactory ¶
func TenantWriterFactory(db database.Database, logger logger.Interface) (repo repositories.TenantWriter)
TenantWriterFactory - Return tenant write operations according to given database interface
Types ¶
This section is empty.