Documentation
¶
Index ¶
- func ActivateUser(id int) error
- func CheckProhibitedUser(w http.ResponseWriter, r *http.Request) bool
- func DeactivateUser(id int) error
- func GetAllUsers() ([]database.User, error)
- func GetEndDateForUser(id int) (database.Date, error)
- func GetUserByEmail(email string) (database.User, error)
- func GetUserByID(id int) (database.User, error)
- func IsProhibited(id int) (bool, error)
- func ProhibitUser(id int) error
- func UnprohibitUser(id int) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ActivateUser ¶ added in v0.2.17
func CheckProhibitedUser ¶ added in v0.2.17
func CheckProhibitedUser(w http.ResponseWriter, r *http.Request) bool
assumes that the user is already validated
func DeactivateUser ¶ added in v0.2.17
func GetAllUsers ¶
func IsProhibited ¶ added in v0.2.17
func ProhibitUser ¶ added in v0.2.17
func UnprohibitUser ¶ added in v0.2.17
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.