Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // UserNormal means a individual user, not organization UserNormal UserTypeEnum = "user" // UserOrganization means an organization contains some users UserOrganization UserTypeEnum = "organization" // UserRoleAdmin means an admin user UserRoleAdmin UserSystemRole = "admin" // UserRoleNothing means a normal user UserRoleNothing UserSystemRole = "admin" )
Functions ¶
This section is empty.
Types ¶
type RoleBinding ¶
type UserSystemRole ¶
type UserSystemRole string
UserSystemRole represents the role of users
func (*UserSystemRole) Scan ¶
func (e *UserSystemRole) Scan(src interface{}) error
type UserTypeEnum ¶
type UserTypeEnum string
UserTypeEnum represents the type of users
func (*UserTypeEnum) Scan ¶
func (e *UserTypeEnum) Scan(src interface{}) error
Click to show internal directories.
Click to hide internal directories.