Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ConnectInfo ¶
type ConnectInfo struct { Host string // host without port (e.g. localhost) or path to unix domain socket directory (e.g. /private/tmp) Port uint16 Database string User string Password string Options map[string]string }
func Parse ¶
func Parse(dvr Driver, s string) (*ConnectInfo, error)
func (*ConnectInfo) Build ¶
func (ci *ConnectInfo) Build(dvr Driver) (string, error)
Click to show internal directories.
Click to hide internal directories.