Documentation ¶
Index ¶
- type UserTypes
- func (u *UserTypes) AddUserType(userType universe.UserType, updateDB bool) error
- func (u *UserTypes) AddUserTypes(userTypes []universe.UserType, updateDB bool) error
- func (u *UserTypes) CreateUserType(userTypeID uuid.UUID) (universe.UserType, error)
- func (u *UserTypes) FilterUserTypes(predicateFn universe.UserTypesFilterPredicateFn) map[uuid.UUID]universe.UserType
- func (u *UserTypes) GetUserType(userTypeID uuid.UUID) (universe.UserType, bool)
- func (u *UserTypes) GetUserTypes() map[uuid.UUID]universe.UserType
- func (u *UserTypes) Initialize(ctx context.Context) error
- func (u *UserTypes) Load() error
- func (u *UserTypes) RegisterAPI(r *gin.Engine)
- func (u *UserTypes) RemoveUserType(userType universe.UserType, updateDB bool) error
- func (u *UserTypes) RemoveUserTypes(userTypes []universe.UserType, updateDB bool) error
- func (u *UserTypes) Save() error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type UserTypes ¶
type UserTypes struct {
// contains filtered or unexported fields
}
func NewUserTypes ¶
func (*UserTypes) AddUserType ¶
func (*UserTypes) AddUserTypes ¶
func (*UserTypes) CreateUserType ¶
func (*UserTypes) FilterUserTypes ¶
func (*UserTypes) GetUserType ¶
func (*UserTypes) RegisterAPI ¶
func (*UserTypes) RemoveUserType ¶
func (*UserTypes) RemoveUserTypes ¶
Click to show internal directories.
Click to hide internal directories.