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 Connector ¶
type Connector struct { SkipEncryption bool SkipVerify bool Log log.Logger LogId string RoutingContext map[string]string Network string Config *config.Config SupplyConnection func(context.Context, string) (net.Conn, error) TestKitDnsResolver func(string) []string }
func (*Connector) Connect ¶
func (c *Connector) Connect( ctx context.Context, address string, auth *db.ReAuthToken, errorListener bolt.ConnectionErrorListener, boltLogger log.BoltLogger, ) (connection db.Connection, err error)
Click to show internal directories.
Click to hide internal directories.