Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Analyzer ¶
type Analyzer struct {
// contains filtered or unexported fields
}
func New ¶
func New(d Dependencies) (*Analyzer, error)
func (*Analyzer) AnalyzeSetInsights ¶
func (a *Analyzer) AnalyzeSetInsights(ctx context.Context, category domain.Category, setID int, options SetInsightsOptions) (domain.SetInsights, error)
type Dependencies ¶
type Dependencies struct {
API tcgapi.API
Categories CategoryProvider
}
type SetInsightsOptions ¶
type SetInsightsOptions struct {
TopN int
ProductKindFilter domain.ProductKindFilter
MinMarketPrice *float64
}
Click to show internal directories.
Click to hide internal directories.