Documentation ¶
Index ¶
- type DB
- func (db *DB) GetUserTypes(ctx context.Context) ([]*entry.UserType, error)
- func (db *DB) RemoveUserTypeByID(ctx context.Context, userTypeID umid.UMID) error
- func (db *DB) RemoveUserTypesByIDs(ctx context.Context, userTypeIDs []umid.UMID) error
- func (db *DB) UpdateUserTypeDescription(ctx context.Context, userTypeID umid.UMID, description string) error
- func (db *DB) UpdateUserTypeName(ctx context.Context, userTypeID umid.UMID, name string) error
- func (db *DB) UpdateUserTypeOptions(ctx context.Context, userTypeID umid.UMID, options *entry.UserOptions) error
- func (db *DB) UpsertUserType(ctx context.Context, userType *entry.UserType) error
- func (db *DB) UpsertUserTypes(ctx context.Context, userTypes []*entry.UserType) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DB ¶
type DB struct {
// contains filtered or unexported fields
}
func (*DB) GetUserTypes ¶ added in v0.2.0
func (*DB) RemoveUserTypeByID ¶ added in v0.2.0
func (*DB) RemoveUserTypesByIDs ¶ added in v0.2.0
func (*DB) UpdateUserTypeDescription ¶ added in v0.2.0
func (*DB) UpdateUserTypeName ¶ added in v0.2.0
func (*DB) UpdateUserTypeOptions ¶ added in v0.2.0
func (*DB) UpsertUserType ¶ added in v0.2.0
Click to show internal directories.
Click to hide internal directories.