kratosgotenancy

package
v0.1.5 Latest Latest
Warning

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

Go to latest
Published: Jul 9, 2026 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Overview

Package kratosgotenancy adapts GoTenancy tenant middleware to Kratos.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func HostGuard

func HostGuard() middleware.Middleware

HostGuard allows only explicit host context.

func TenantMiddleware

func TenantMiddleware(resolver resolver.Resolver, store store.Store) middleware.Middleware

TenantMiddleware resolves the current tenant and stores it in context.

func TenantStatusGuard

func TenantStatusGuard() middleware.Middleware

TenantStatusGuard allows only active tenants.

Types

This section is empty.

Jump to

Keyboard shortcuts

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