added more functionality

This commit is contained in:
2024-05-10 00:39:06 +03:00
parent 10c5367b9b
commit 5fc472832f
17 changed files with 413 additions and 37 deletions

9
models/user.go Normal file
View File

@@ -0,0 +1,9 @@
package models
type User struct {
Username string `json:"username"`
Email string `json:"email"`
MaxOwnedServers int `json:"maxed_owned_servers"`
Permissions Permission `json:"permissions"`
HashedPass string `json:"hashedPass"`
}