mirror of
https://github.com/stashapp/stash.git
synced 2026-05-09 05:05:29 +02:00
17 lines
555 B
Go
17 lines
555 B
Go
package models
|
|
|
|
type StashBoxFingerprint struct {
|
|
Algorithm string `json:"algorithm"`
|
|
Hash string `json:"hash"`
|
|
Duration int `json:"duration"`
|
|
Reports int `json:"reports"`
|
|
UserSubmitted bool `json:"user_submitted"`
|
|
UserReported bool `json:"user_reported"`
|
|
}
|
|
|
|
type StashBox struct {
|
|
Endpoint string `json:"endpoint"`
|
|
APIKey string `json:"api_key"`
|
|
Name string `json:"name"`
|
|
MaxRequestsPerMinute int `json:"max_requests_per_minute" koanf:"max_requests_per_minute"`
|
|
}
|