Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MongoClient ¶
type MongoClient struct {
// contains filtered or unexported fields
}
MongoClient is a client interface for managing connections to a MongoDB deployment.
func NewMongoClient ¶
func NewMongoClient(ctx context.Context) (*MongoClient, error)
NewMongoClient creates a new MongoClient.
type MySQLClient ¶
type MySQLClient struct {
// contains filtered or unexported fields
}
MySQLClient is a client interface for managing a pool of zero or more underlying mysql connections.
func NewMySQLClient ¶
func NewMySQLClient(ctx context.Context) (*MySQLClient, error)
MySQLClient creates a new MySQL.
func (*MySQLClient) Close ¶
func (c *MySQLClient) Close() error
Close closes the underlying mysql connection.
Click to show internal directories.
Click to hide internal directories.