messagequeue

package
v0.3.0-20261114050809-... Latest Latest
Warning

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

Go to latest
Published: Nov 14, 2026 License: Apache-2.0 Imports: 5 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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