Documentation
¶
Overview ¶
Package messagequeue holds message-queue configuration shared by service wiring.
Index ¶
- Constants
- func ConfigureQueueMySQLConnectionPool(db *sql.DB, value string) error
- func ParseRequiredTenants(value string) ([]string, error)
- func ValidateTenantSetsEqual(firstName string, first []string, secondName string, second []string) error
- func ValidateTenantSubset(supersetName string, superset []string, subsetName string, subset []string) error
Constants ¶
View Source
const DefaultQueueMySQLMaxOpenConnections = 16
DefaultQueueMySQLMaxOpenConnections bounds queue database concurrency when the service does not provide an explicit limit.
Variables ¶
This section is empty.
Functions ¶
func ConfigureQueueMySQLConnectionPool ¶
ConfigureQueueMySQLConnectionPool applies the configured maximum open connection count and keeps that many connections idle. Empty input selects DefaultQueueMySQLMaxOpenConnections.
func ParseRequiredTenants ¶
ParseRequiredTenants parses a comma-separated tenant list. Tenants are unique, non-empty ASCII identifiers of at most 255 bytes.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.