mirror of
https://github.com/ultrasn0w/huso.git
synced 2025-12-14 05:39:52 +01:00
GET user
This commit is contained in:
12
klotz.go
12
klotz.go
@@ -65,6 +65,18 @@ type UserData struct {
|
||||
Secret string `json:"secret"`
|
||||
}
|
||||
|
||||
type User struct {
|
||||
MalID int64 `json:"id"`
|
||||
Username string `json:"username"`
|
||||
URL string `json:"url"`
|
||||
ImageURL string `json:"imageUrl"`
|
||||
LastOnline time.Time `json:"lastOnline"`
|
||||
Gender string `json:"gender"`
|
||||
Birthday time.Time `json:"birthday"`
|
||||
Location string `json:"location"`
|
||||
Joined time.Time `json:"joined"`
|
||||
}
|
||||
|
||||
type RegisterData struct {
|
||||
Username string `json:"username"`
|
||||
MalID int64 `json:"malId"`
|
||||
|
||||
Reference in New Issue
Block a user