stash/pkg/models/stash_box.go
InfiniteStash 66a445c366 WIP
2026-03-30 09:19:19 +02:00

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"`
}