messagequeue

package
v0.3.0-20261006170529-... Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 6, 2026 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Package messagequeue holds message-queue configuration shared by service wiring.

Index

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

func ConfigureQueueMySQLConnectionPool(db *sql.DB, value string) error

ConfigureQueueMySQLConnectionPool applies the configured maximum open connection count and keeps that many connections idle. Empty input selects DefaultQueueMySQLMaxOpenConnections.

func ParseRequiredTenants

func ParseRequiredTenants(value string) ([]string, error)

ParseRequiredTenants parses a comma-separated tenant list. Tenants are unique, non-empty ASCII identifiers of at most 255 bytes.

func ValidateTenantSetsEqual

func ValidateTenantSetsEqual(firstName string, first []string, secondName string, second []string) error

ValidateTenantSetsEqual requires both named configurations to contain the same tenants. Input order and duplicate entries do not affect equality.

func ValidateTenantSubset

func ValidateTenantSubset(supersetName string, superset []string, subsetName string, subset []string) error

ValidateTenantSubset requires every tenant in subset to be present in superset. Input order and duplicate entries do not affect membership.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL