Documentation ¶
Overview ¶
Package connector is responsible for connecting to a database server.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ConnectError ¶
type ConnectError struct {
// contains filtered or unexported fields
}
func (*ConnectError) Error ¶
func (e *ConnectError) Error() string
type Connector ¶
type Connector struct { SkipEncryption bool SkipVerify bool RootCAs *x509.CertPool DialTimeout time.Duration SocketKeepAlive bool Auth map[string]interface{} Log log.Logger UserAgent string RoutingContext map[string]string Network string }
func (Connector) Connect ¶
func (c Connector) Connect(address string, boltLogger log.BoltLogger) (db.Connection, error)
Click to show internal directories.
Click to hide internal directories.