Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Option ¶
type Option struct { Host string `json:"host" yaml:"host" toml:"host"` Port int `json:"port,string" yaml:"port" toml:"port"` User string `json:"user" yaml:"user" toml:"user"` Password string `json:"password" yaml:"password" toml:"password"` Database string `json:"database" yaml:"database" toml:"database"` MaxOpenConns int `json:"max_open_conns,string" yaml:"max_open_conns" toml:"max_open_conns"` MaxIdleTime string `json:"max_idle_time" yaml:"max_idle_time" toml:"max_idle_time"` }
Click to show internal directories.
Click to hide internal directories.