saas

package
v0.0.4 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewTraceContrib

func NewTraceContrib(next ...seed.Contrib) seed.Contrib

func RunWithTenantCache

func RunWithTenantCache(ctx context.Context, store saas.TenantStore, f func(ctx context.Context) error) error

RunWithTenantCache get tenant config and cached into context

func SeedChangeTenant

func SeedChangeTenant(store saas.TenantStore, next ...seed.Contrib) seed.Contrib

Types

type SeedFunc

type SeedFunc func(ctx context.Context, sCtx *seed.Context) error

func (SeedFunc) Seed

func (s SeedFunc) Seed(ctx context.Context, sCtx *seed.Context) error

Jump to

Keyboard shortcuts

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