Documentation ¶
Index ¶
- type Option
- func ConnMaxLifetime(d time.Duration) Option
- func Driver(name string) Option
- func DriverOption(opts ...interface{}) Option
- func Logger(logger log.Logger) Option
- func Logging(enabled bool) Option
- func MaxIdleConns(n int) Option
- func MaxOpenConns(n int) Option
- func Retry(delay time.Duration, timeout time.Duration) Option
- func Table(name string) Option
- type Options
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Option ¶
type Option func(*Options)
func ConnMaxLifetime ¶
func DriverOption ¶
func DriverOption(opts ...interface{}) Option
func MaxIdleConns ¶
func MaxOpenConns ¶
Click to show internal directories.
Click to hide internal directories.