Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DataSourceName ¶
type DataSourceName struct { Host string Port string Password string ConnectTimeout time.Duration Parameter map[string]string SSL struct { Mode string Cert string Key string RootCert string Crl string Compression int } }
func ParseDSN ¶
func ParseDSN(connectStr string) (dsn DataSourceName, err error)
func (*DataSourceName) Address ¶
func (dsn *DataSourceName) Address() (network, address string, timeout time.Duration)
func (*DataSourceName) SSLCheck ¶
func (dsn *DataSourceName) SSLCheck() (err error)
Click to show internal directories.
Click to hide internal directories.