Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ConnOpts ¶
type ConnOpts struct {
DSN string
Timeout time.Duration
MaxConnLifetime time.Duration
MaxConns int
MaxIdleConns int
}
ConnOpts are the options to create a connection
type Driver ¶
type Driver interface {
IsSupported(dsn string) bool
NewConnection(ConnOpts, reader.Reader) (Dumper, error)
}
Driver is a driver interface used to support multiple drivers
Click to show internal directories.
Click to hide internal directories.