Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Option ¶
type Option struct { Address string `json:"address"` DBName string `json:"dbname"` Username string `json:"username"` Password string `json:"password"` Port int `json:"port"` // MaxOpenConns sets the maximum number of open connections to the database MaxOpenConns int `json:"max_open_conns"` // MaxIdleConns sets the maximum number of connections in the idle connection pool. MaxIdleConns int `json:"max_idle_conns"` }
Click to show internal directories.
Click to hide internal directories.