Documentation ¶
Index ¶
Constants ¶
View Source
const (
DriverName = "mysql"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Conf ¶
type Conf struct { ConnPool *internal.ConnPoolConf `yaml:"connPool" conf:",example=\n maxLifeTime: 60m\n maxIdleTime: 45s\n maxOpen: 4\n maxIdle: 1"` TLS map[string]TLSConf `` /* 137-byte string literal not displayed */ ServerPubKey map[string]string `yaml:"serverPubKey" conf:",example=\n mykey: testdata/server_public_key.pem"` // DSN is the data source connection string. DSN string `yaml:"dsn" conf:"required,example=\"user:password@tcp(localhost:3306)/db?interpolateParams=true\""` // SkipSchemaCheck skips checking for required database tables on startup. SkipSchemaCheck bool `yaml:"skipSchemaCheck" conf:",example=false"` }
Conf is required (if driver is set to 'mysql') configuration for mysql driver. +desc=This section is required only if storage.driver is mysql.
Click to show internal directories.
Click to hide internal directories.