rogueserver/api/generic.go

13 lines
193 B
Go
Raw Normal View History

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