tenantcontext

package
v6.1.3 Latest Latest
Warning

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

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

Documentation

Overview

Package tenantcontext provides context keys for the tenant and migration options.

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 fmt.Stringer interface.

Jump to

Keyboard shortcuts

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