Documentation
¶
Index ¶
- func Backup(ctx context.Context, db *sql.DB, w io.Writer) error
- func Connector(id string) (*ha.Connector, error)
- func DB(id string) (*sql.DB, error)
- func Databases() []string
- func Drop(ctx context.Context, id string) (string, error)
- func IdFromDSN(dsn string) string
- func Load(ctx context.Context, dsn string, cfg LoadConfig) error
- type LoadConfig
- type ProxiedDBConfig
- type Request
- type Response
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type LoadConfig ¶ added in v0.11.4
type ProxiedDBConfig ¶ added in v0.11.4
type ProxiedDBConfig struct {
PgDSN string
PgPublicationName string
PgSlotName string
MysqlDSN string
MysqlInclude string
MysqlExclude string
MysqlID string
MysqlDumpBin string
MysqlDumpDB string
MysqlDumpTables []string
DebeziumBroker string
DebeziumGroup string
DebeziumTopics []string
DebeziumSourceDSN string
LocalDB string
UseSchema bool
DisableRedirect bool
ReadYourWrites bool
}
Click to show internal directories.
Click to hide internal directories.