Documentation ¶
Index ¶
- type Connection
- type ConnectionPool
- func (this *ConnectionPool) Deregister(alias string)
- func (this *ConnectionPool) DisconnectAll()
- func (this *ConnectionPool) Get(alias string) Connector
- func (this *ConnectionPool) List() map[string]Connector
- func (this *ConnectionPool) Register(alias, accessKey, secretKey, region string) (Connector, error)
- type Connector
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Connection ¶
type Connection struct {
// contains filtered or unexported fields
}
type ConnectionPool ¶
type ConnectionPool struct {
// contains filtered or unexported fields
}
func (*ConnectionPool) Deregister ¶
func (this *ConnectionPool) Deregister(alias string)
Deregister a connection
func (*ConnectionPool) DisconnectAll ¶
func (this *ConnectionPool) DisconnectAll()
Disconnect all connections
func (*ConnectionPool) Get ¶
func (this *ConnectionPool) Get(alias string) Connector
Get a connection. nil is returned if the connection does not exist
func (*ConnectionPool) List ¶
func (this *ConnectionPool) List() map[string]Connector
List all connection names
Click to show internal directories.
Click to hide internal directories.