Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { PostgresDSN string `yaml:"postgresDsn,omitempty"` MysqlDSN string `yaml:"mysqlDSN,omitempty"` ClickHouseDSN string `yaml:"clickhouseDSN,omitempty"` MaxConns int `yaml:"maxConns"` MaxIdleConns int `yaml:"maxIdleConns"` Concurrent bool `yaml:"concurrent"` Payloads []*Payload `yaml:"payloads"` }
Config is used for configuring SQL generators.
type Payload ¶
type Payload struct { Exec string `yaml:"exec,omitempty"` Transactions []*Transaction `yaml:"transactions,omitempty"` }
Payload is used for configuring a SQL payload.
type Transaction ¶
type Transaction struct { Query string `yaml:"query,omitempty"` Exec string `yaml:"exec,omitempty"` }
Transaction is used for configuring a SQL transaction.
Click to show internal directories.
Click to hide internal directories.