Documentation
¶
Index ¶
- func CreateData(collection string, data map[string]interface{}) error
- func CreateStaffQueue(staff models.Staff) error
- func CreateUserQueue(user models.User) error
- func GetData(collection string, filter map[string]interface{}) ([]map[string]interface{}, error)
- func GetStaffByAnything(staff models.GetStaff) ([]models.Staff, error)
- func GetStaffQueueByDiscordID(ID string) (models.Staff, error)
- func GetStaffQueueByEmail(email string) (models.Staff, error)
- func GetStaffQueueById(ID string) (models.Staff, error)
- func GetUserQueueByEmail(email string) (models.User, error)
- func GetUserQueueById(ID string) (models.User, error)
- func GetuserByAnything(user models.GetUser) ([]models.User, error)
- func UpdateDataByID(collection string, id interface{}, newData map[string]interface{}) error
- func UpdateStaffQueue(uuid string, staff models.UpdateStaff) error
- func UpdateUserQueue(user models.User) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateData ¶
func GetStaffByAnything ¶
Get staff by whatever client gives
func GetStaffQueueByDiscordID ¶
Check if staff discord id already been used
func GetStaffQueueByEmail ¶
Get staff by email
func GetStaffQueueById ¶
Check if discord id already been used
func GetUserQueueByEmail ¶
Get user by email
func GetUserQueueById ¶
Check if discord id already been used
func GetuserByAnything ¶
Get user by whatever client gives
func UpdateDataByID ¶
func UpdateStaffQueue ¶
func UpdateStaffQueue(uuid string, staff models.UpdateStaff) error
func UpdateUserQueue ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.