package
1.7.16
Repository: https://github.com/vdaas/vald.git
Documentation: pkg.go.dev

# Packages

Package dbr provides the dbr functions for handling with databases.

# Functions

New creates the new mySQLClient with option.
WithCharset returns the option to set the charset.
WithConnectionLifeTimeLimit returns the option to set the connMaxLifeTime.
WithDB returns the option to set the db.
WithDialer returns the option to set the dialer.
WithDialerFunc returns the option to set the dialer function.
WithEventReceiver returns the option to set the eventReceiver.
WithHost returns the option to set the host.
WithInitialPingDuration returns the option to set the initialPingDuration.
WithInitialPingTimeLimit returns the option to set the initialPingTimeLimit.
WithMaxIdleConns returns the option to set the maxIdleConns.
WithMaxOpenConns returns the option to set the maxOpenConns.
WithName returns the option to sst the name.
WithNetwork returns the option to set the network type (tcp, unix).
WithPass returns the option to set the pass.
WithPort returns the option to set the port.
WithSocketPath returns the option to set the socketPath for unix domain socket connection.
WithTimezone returns the option to set the timezone.
WithTLSConfig returns the option to set the tlsConfig.
WithUser returns the option to set the user.

# Interfaces

No description provided by the author
MySQL represents the interface to handle MySQL operation.
No description provided by the author
Vector is an interface to handle vector keep in MySQL.

# Type aliases

No description provided by the author
No description provided by the author
Option represents the functional option for mySQLClient.
No description provided by the author