added docs for loginrenew, login, regsiter

This commit is contained in:
Samuel Högbom Aronson 2024-03-18 22:40:51 +01:00
parent 2be4afd0e0
commit f3c5abf4f3
3 changed files with 173 additions and 6 deletions

View file

@ -27,3 +27,8 @@ type PublicUser struct {
UserId string `json:"userId"`
Username string `json:"username"`
}
// wrapper type for token
type Token struct {
Token string `json:"token"`
}