tenants

package
v1.2.1 Latest Latest
Warning

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

Go to latest
Published: Aug 20, 2020 License: BSD-3-Clause Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ServiceName    = "TENANTS"
	DBTableName    = "tenants"
	TenantInfoType = "tenant_info"
)

Variables

This section is empty.

Functions

func CreateTenant

func CreateTenant(tenantID int64, tenant *protos.Tenant) (*protos.Tenant, error)

func DeleteTenant

func DeleteTenant(tenantID int64) error

func GetAllTenants

func GetAllTenants() (*protos.TenantList, error)

func GetTenant

func GetTenant(tenantID int64) (*protos.Tenant, error)

func SetTenant

func SetTenant(tenantID int64, tenant protos.Tenant) error

Types

This section is empty.

Directories

Path Synopsis
obsidian

Jump to

Keyboard shortcuts

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