Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DeleteAvatar ¶
func DeleteAvatar(u *user_model.User) error
DeleteAvatar deletes the user's custom avatar.
func DeleteInactiveUsers ¶
DeleteInactiveUsers deletes all inactive users and email addresses.
func DeleteUser ¶
DeleteUser completely and permanently deletes everything of a user, but issues/comments/pulls will be kept and shown as someone has been deleted, unless the user is younger than USER_DELETE_WITH_COMMENTS_MAX_DAYS.
func UploadAvatar ¶
func UploadAvatar(u *user_model.User, data []byte) error
UploadAvatar saves custom avatar for user.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.