plugin

package
v0.0.4 Latest Latest
Warning

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

Go to latest
Published: Oct 11, 2023 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func TenantScope

func TenantScope(scopeID interface{}) func(db *gorm.DB) *gorm.DB

Types

type MultiTenancyPlugin

type MultiTenancyPlugin struct{}

func (*MultiTenancyPlugin) Initialize

func (p *MultiTenancyPlugin) Initialize(db *gorm.DB) (err error)

func (*MultiTenancyPlugin) Name

func (p *MultiTenancyPlugin) Name() string

Jump to

Keyboard shortcuts

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