Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ProviderSet = wire.NewSet(NewTaoBaoUseCase, NewJDUseCase, NewPddUseCase, NewVIPUseCase, NewTikTokUseCase)
ProviderSet is biz providers.
Functions ¶
This section is empty.
Types ¶
type Categories ¶
type Categories struct { Cid int `json:"cid"` Cname string `json:"cname"` Cpic string `json:"cpic"` Subcategories []Subcategories `json:"subcategories"` }
type JDUseCase ¶
type JDUseCase struct {
// contains filtered or unexported fields
}
func NewJDUseCase ¶
type Subcategories ¶
type TaoBaoRepo ¶
type TaoBaoUseCase ¶
type TaoBaoUseCase struct {
// contains filtered or unexported fields
}
func NewTaoBaoUseCase ¶
func NewTaoBaoUseCase(logger log.Logger, dtk *dataoke.Client) *TaoBaoUseCase
func (*TaoBaoUseCase) CarouseList ¶
func (*TaoBaoUseCase) GetSuperCategory ¶
func (uc *TaoBaoUseCase) GetSuperCategory(ctx context.Context, params map[string]string) ([]*Categories, error)
type TikTokUseCase ¶
type TikTokUseCase struct { }
func NewTikTokUseCase ¶
func NewTikTokUseCase() *TikTokUseCase
Click to show internal directories.
Click to hide internal directories.