| 12345678910111213141516171819202122232425262728293031 | package userimport "log"//Get the user's handlerfunc (u *User) Parent() *UserHandler {	return u.parent}//Remove the current userfunc (u *User) RemoveUser() {	//Remove the user storage quota settings	log.Println("Removing User Quota: ", u.Username)	u.StorageQuota.RemoveUserQuota()	//Remove the user authentication register	u.parent.authAgent.UnregisterUser(u.Username)}//Get the current user iconfunc (u *User) GetUserIcon() string {	var userIconpath []byte	u.parent.database.Read("auth", "profilepic/"+u.Username, &userIconpath)	return string(userIconpath)}//Set the current user iconfunc (u *User) SetUserIcon(base64data string) {	u.parent.database.Write("auth", "profilepic/"+u.Username, []byte(base64data))	return}
 |