access

package
v0.0.0-...-6c9b1ce Latest Latest
Warning

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

Go to latest
Published: Sep 23, 2023 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Access

type Access struct {
	ID          primitive.ObjectID `bson:"_id,omitempty"`
	UserId      string             `bson:"userId"`
	UserGroupId string             `bson:"userGroupId"`
	Roles       []string           `bson:"roles"`
}

type AccessModel

type AccessModel struct {
	mongodb.UserGroup
	IdKey          string
	UserIdKey      string
	UserGroupIdKey string
	RolesKey       string
}

func GetModel

func GetModel() *AccessModel

func (AccessModel) CollectionName

func (u AccessModel) CollectionName() string

Jump to

Keyboard shortcuts

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