Documentation ¶
Overview ¶
This package opens and retains a pool of distinct DBMS connections.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DbmsEntry ¶ added in v0.2.0
type DbmsEntry struct { Entry // contains filtered or unexported fields }
DbmsEntry represents a standard Dbms connection.
type DbmsPool ¶ added in v0.2.0
type DbmsPool struct {
// contains filtered or unexported fields
}
DbmsPool is a map of pool entries identified by a unique name.
func NewDbmsPool ¶ added in v0.2.0
NewDbmsPool initializes a DbmsPool struct with the given rps. See also database.RateLimitedDbmsConn.
func (DbmsPool) Keepalive ¶ added in v1.0.0
Keepalive starts a periodic ping to each endpoint, if an endpoint becomes unreachable, an error is logged.
Click to show internal directories.
Click to hide internal directories.