jokes-bapak2/api/app/middleware/schema.go

13 lines
314 B
Go
Raw Normal View History

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"`
}
type Error struct {
Error string `json:"error"`
}