tenantcontext

package
v5.11.0 Latest Latest
Warning

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

Go to latest
Published: May 9, 2024 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Overview

Package tenantcontext provides a context key for the tenant.

It is used to store the tenant in the request context.

Index

Constants

This section is empty.

Variables

View Source
var (
	// TenantKey is the context key for the tenant.
	TenantKey = &contextKey{"tenant"}
	// MigrationOptions is the context key for the migration options.
	MigrationOptions = &contextKey{"migration_options"}
)

Functions

This section is empty.

Types

type ContextKey

type ContextKey interface {
	fmt.Stringer
}

ContextKey represents a context key which implements the Stringer interface.

Jump to

Keyboard shortcuts

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