Versions in this module Expand all Collapse all v1 v1.0.0 Feb 15, 2019 Changes in this version + var DefaultOptions = Options + type ColumnSchema struct + Name string + Type string + type Connection struct + func Connect(host string, port int, options *Options) (*Connection, error) + func (c *Connection) Close(ctx context.Context) error + func (c *Connection) Query(ctx context.Context, query string) (RowSet, error) + type Options struct + BatchSize int + BufferSize int + CACertPath string + Password string + PollIntervalSeconds float64 + UseLDAP bool + UseTLS bool + Username string + type RowSet interface + Err func() error + FetchAll func(ctx context.Context) []map[string]interface{} + MapScan func(dest map[string]interface{}) error + Next func(ctx context.Context) bool + Poll func(ctx context.Context) (*Status, error) + Scan func(dest ...interface{}) error + Schema func(ctx context.Context) []*ColumnSchema + Wait func(ctx context.Context) (*Status, error) + type Status struct + Error error + func (s *Status) IsComplete() bool + func (s *Status) IsSuccess() bool Incompatible versions in this module v2.1.0+incompatible Jan 13, 2021 v2.0.0+incompatible May 26, 2019