mirror of
https://github.com/aunefyren/wrapperr
synced 2025-01-09 16:28:43 +00:00
245957e1bb
Reject stats request for inactive users
17 lines
514 B
Go
17 lines
514 B
Go
package models
|
|
|
|
import "time"
|
|
|
|
type WrapperrUser struct {
|
|
FriendlyName string `json:"user_friendly_name"`
|
|
User string `json:"user_name"`
|
|
UserID int `json:"user_id"`
|
|
Email string `json:"user_email"`
|
|
Active bool `json:"user_active"`
|
|
Wrappings []WrapperrHistoryEntry `json:"wrappings"`
|
|
}
|
|
|
|
type WrapperrHistoryEntry struct {
|
|
Date time.Time `json:"entry_date"`
|
|
IP string `json:"entry_ip"`
|
|
}
|