Documentation
¶
Overview ¶
Package namespace provides utilities for validating tenant names in a consistent manner across different database systems.
Namespace is a term used to refer to a tenant; it is a unique identifier for a tenant and, for PostgreSQL, is equivalent to the schema name.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrInvalidPattern = errors.New( "tenant name must start with an underscore or a letter, followed by at least two " + "characters that can be underscores, letters, or numbers", ) ErrReservedPrefix = errors.New( "tenant name must not start with 'pg_' as it is reserved for system schemas in PostgreSQL", ) )
Tenant name validation errors.
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.