rogueserver/api/generic.go

13 lines
193 B
Go
Raw Normal View History

2023-12-05 10:28:08 -08:00
package api
// auth
type GenericAuthRequest struct {
Username string `json:"username"`
Password string `json:"password"`
}
type GenericAuthResponse struct {
Token string `json:"token"`
}