fibersaas

package
v0.2.0 Latest Latest
Warning

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

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

Documentation

Overview

Package fibersaas adapts SaaS tenant middleware to Fiber.

包 fibersaas 将 SaaS 租户中间件适配到 Fiber。

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func HostGuardMiddleware

func HostGuardMiddleware() fiber.Handler

HostGuardMiddleware allows only explicit host context.

func TenantMiddleware

func TenantMiddleware(resolver resolver.Resolver, store store.Store) fiber.Handler

TenantMiddleware resolves the current tenant and stores it in Fiber user context.

func TenantStatusGuard

func TenantStatusGuard() fiber.Handler

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