Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SQLDBConfig ¶
type SQLDBConfig struct { User string `comment:"required"` Passwd string `comment:"required"` Address string `comment:"required"` Database string `comment:"required"` ConnMaxLifetime int `comment:"optional"` ConnMaxIdleTime int `comment:"optional"` MaxIdleConns int `comment:"optional"` MaxOpenConns int `comment:"optional"` // whether enable trace PutEvent, use by spdb EnableTracePutEvent bool `comment:"optional"` }
SQLDBConfig is sql db config
Click to show internal directories.
Click to hide internal directories.