Documentation ¶
Index ¶
- func AddUser(user *structs.User) error
- func DeleteUser(user *structs.User) error
- func GetAllEntitiesFromUser(uid int64, eType string) (*[]*structs.Entity, error)
- func GetAssetsForEntity(entity *structs.Entity) error
- func GetEntitiesByAnswerOf(eid int64) ([]*structs.Entity, error)
- func GetEntityByID(id int64, eType string) (*structs.Entity, error)
- func GetLastNEntities(numOfEntities uint, eType string) (*[]*structs.Entity, error)
- func GetUserByID(id int64) (*structs.User, error)
- func GetUserByName(username string) (*structs.User, error)
- func GetUserSettings(user *structs.User) error
- func InitializeDatabaseInstance(isDev bool) error
- func IsEntityLikedBy(eid, uid uint) (bool, error)
- func IsValidUser(user *structs.User) (bool, error)
- func UpdateCheck(user *structs.User) error
- type KomfyDB
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DeleteUser ¶
func GetAllEntitiesFromUser ¶
func GetAssetsForEntity ¶
func GetLastNEntities ¶
func GetUserSettings ¶
func IsEntityLikedBy ¶
func UpdateCheck ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.