Versions in this module Expand all Collapse all v1 v1.8.0 Aug 19, 2020 v1.7.0 Jul 12, 2020 Changes in this version + type ConfigMySQL struct + DB []Item + type Item struct + Host string + MaxIdle int + MaxOpen int + Name string + Passwd string + Port int + Schema string + TTL int + User string + type MySQL struct + func New(cfg *ConfigMySQL) *MySQL + func (db *MySQL) Down() error + func (db *MySQL) Get(name string) (*conn, error) + func (db *MySQL) Up() error