package
1.0.0
Repository: https://github.com/jinycoo/jinygo.git
Documentation: pkg.go.dev

# Functions

DeregisterLocalFile removes the given filepath from the allowlist.
DeregisterReaderHandler removes the ReaderHandler function with the given name from the registry.
DeregisterServerPubKey removes the public key registered with the given name.
DeregisterTLSConfig removes the tls.Config associated with key.
NewConfig creates a new Config and sets default values.
NewConnector returns new driver.Connector.
ParseDSN parses the DSN string to a Config.
RegisterDial registers a custom dial function.
RegisterDialContext registers a custom dial function.
RegisterLocalFile adds the given file to the file allowlist, so that it can be used by "LOAD DATA LOCAL INFILE <filepath>".
RegisterReaderHandler registers a handler function which is used to receive a io.Reader.
RegisterServerPubKey registers a server RSA public key which can be used to send data in a secure manner to the server without receiving the public key in a potentially insecure way from the server first.
RegisterTLSConfig registers a custom tls.Config to be used with sql.Open.
SetLogger is used to set the logger for critical errors.

# Variables

Various errors the driver might return.
Various errors the driver might return.
Various errors the driver might return.
Various errors the driver might return.
Various errors the driver might return.
Various errors the driver might return.
Various errors the driver might return.
Various errors the driver might return.
Various errors the driver might return.
Various errors the driver might return.
Various errors the driver might return.
Various errors the driver might return.

# Structs

Config is a configuration parsed from a DSN string.
MySQLDriver is exported to make the driver directly accessible.
MySQLError is an error type which represents a single MySQL error.

# Interfaces

Logger is used to log critical error messages.

# Type aliases

DialContextFunc is a function which can be used to establish the network connection.
DialFunc is a function which can be used to establish the network connection.
NullTime represents a time.Time that may be NULL.