model

package
v0.0.0-...-969384c Latest Latest
Warning

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

Go to latest
Published: Nov 22, 2024 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

View Source
const UserGroupTable = "user_group"

UserGroupTable is the name of table in DB that holds the user object

Variables

This section is empty.

Functions

This section is empty.

Types

type UserGroup

type UserGroup struct {
	ID          int    `orm:"pk;auto;column(id)" json:"id,omitempty"`
	GroupName   string `orm:"column(group_name)" json:"group_name,omitempty"`
	GroupType   int    `orm:"column(group_type)" json:"group_type,omitempty"`
	LdapGroupDN string `orm:"column(ldap_group_dn)" json:"ldap_group_dn,omitempty"`
}

UserGroup ...

func UserGroupsFromName

func UserGroupsFromName(groupNames []string, groupType int) []UserGroup

UserGroupsFromName ...

func (*UserGroup) TableName

func (u *UserGroup) TableName() string

TableName ...

Jump to

Keyboard shortcuts

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