Documentation ¶
Index ¶
- Variables
- func EventSyncedTrigger(dbDriver string, table string, counterTable string) (Trigger, TriggerFunction)
- func GetTableName(table any, db *gorm.DB) string
- func Init(cfg *configs.MainConfiguration)
- func InitializeDb(driver Driver, dsn string) (*gorm.DB, error)
- type Driver
- type Trigger
- type TriggerFunction
Constants ¶
This section is empty.
Variables ¶
View Source
var SqlDBErr error
View Source
var SqlDb *gorm.DB
View Source
var Triggers = map[string]Trigger{}
Functions ¶
func EventSyncedTrigger ¶ added in v1.2.0
func EventSyncedTrigger(dbDriver string, table string, counterTable string) (Trigger, TriggerFunction)
func Init ¶
func Init(cfg *configs.MainConfiguration)
Types ¶
type TriggerFunction ¶ added in v1.2.0
type TriggerFunction string
Click to show internal directories.
Click to hide internal directories.