Versions in this module Expand all Collapse all v0 v0.1.0 Feb 25, 2018 Changes in this version + var Driver driverType + func ReadMessage(r io.Reader) (proto.Message, []byte, error) + type AuthMethod string + const AuthMySQL41 + const AuthPlain + type Connector struct + AuthMethod AuthMethod + Database string + Host string + Password string + Port uint16 + SessionVariables map[string]string + Trace func(format string, v ...interface{}) + Username string + func ParseDataSource(dataSource string) (*Connector, error) + func (connector *Connector) Connect(ctx context.Context) (driver.Conn, error) + func (connector *Connector) Driver() driver.Driver + func (connector *Connector) URL() *url.URL + type Error struct + Code uint32 + Msg string + SQLState string + Severity Severity + func (e *Error) Error() string + type Severity byte + const SeverityError + const SeverityFatal + func (s Severity) String() string