2021-09-26 19:13:38 +00:00
|
|
|
package middleware
|
2021-08-04 02:51:22 +00:00
|
|
|
|
|
|
|
type Auth struct {
|
|
|
|
ID int `json:"id" form:"id" db:"id"`
|
|
|
|
Key string `json:"key" form:"key" db:"key"`
|
|
|
|
Token string `json:"token" form:"token" db:"token"`
|
|
|
|
LastUsed string `json:"last_used" form:"last_used" db:"last_used"`
|
|
|
|
}
|
2021-09-26 19:13:38 +00:00
|
|
|
|
|
|
|
type Error struct {
|
|
|
|
Error string `json:"error"`
|
|
|
|
}
|