Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewDriver ¶
func NewDriver(opts ...DriverOption) (*multiDriver, error)
Types ¶
type DriverOption ¶
type DriverOption func(md *multiDriver)
func WithMasterDriver ¶
func WithMasterDriver(d dialect.Driver) DriverOption
func WithSlaveDriver ¶
func WithSlaveDriver(d dialect.Driver) DriverOption
Click to show internal directories.
Click to hide internal directories.