gateway

package
v0.0.0-...-9eaf9d2 Latest Latest
Warning

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

Go to latest
Published: Sep 6, 2022 License: MIT Imports: 15 Imported by: 0

Documentation

Index

Constants

View Source
const SpaceTypeDefault = 1
View Source
const SpaceTypePersonal = 2
View Source
const SpaceTypeSystem = 3

Variables

View Source
var (
	AppUserTableName = "app_user"

	SystemOwnerLoginID   = "system-owner"
	SystemStudentLoginID = "system-student"
	GuestLoginID         = "guest"

	AdministratorRole = "Administrator"
	OwnerRole         = "Owner"
	ManagerRole       = "Manager"
	UserRole          = "User"
	GuestRole         = "Guest"
	UnknownRole       = "Unknown"
)
View Source
var (
	AppUserGroupTableName = "app_user_group"
)
View Source
var (
	GroupUserTableName = "group_user"
)

Functions

func NewAppUserGroupRepository

func NewAppUserGroupRepository(db *gorm.DB) service.AppUserGroupRepository

func NewGroupUserRepository

func NewGroupUserRepository(db *gorm.DB) service.GroupUserRepository

func NewOrganizationRepository

func NewOrganizationRepository(db *gorm.DB) service.OrganizationRepository

func NewRBACRepository

func NewRBACRepository(db *gorm.DB) service.RBACRepository

func NewRepositoryFactory

func NewRepositoryFactory(db *gorm.DB) (service.RepositoryFactory, error)

func NewSpaceRepository

func NewSpaceRepository(db *gorm.DB) service.SpaceRepository

Types

This section is empty.

Jump to

Keyboard shortcuts

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