tenant

package
v0.7.21 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewTenantReader

func NewTenantReader(logger *logger.Logger, database db.Service) policy_services.TenantIdReader

Types

type TenantReader

type TenantReader struct {
	// contains filtered or unexported fields
}

func (*TenantReader) GetTenant

func (s *TenantReader) GetTenant(ctx context.Context) (string, error)

func (*TenantReader) Read

func (t *TenantReader) Read(parentCtx context.Context) (string, error)

Jump to

Keyboard shortcuts

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