biz

package
v0.0.0-...-9bd63dd Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 12, 2023 License: MIT, MIT Imports: 6 Imported by: 0

README

Biz

Documentation

Index

Constants

This section is empty.

Variables

ProviderSet is biz providers.

Functions

This section is empty.

Types

type Carouse

type Carouse struct {
	TopicID    int    `json:"topicId"`
	TopicName  string `json:"topicName"`
	TopicImage string `json:"topicImage"`
	Link       string `json:"link"`
	SourceType int    `json:"sourceType"`
	ActivityID string `json:"activityId"`
}

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

func NewJDUseCase(conf *conf.Auth) *JDUseCase

type PddUseCase

type PddUseCase struct {
}

func NewPddUseCase

func NewPddUseCase() *PddUseCase

type Subcategories

type Subcategories struct {
	Scpic    string `json:"scpic"`
	Subcid   int    `json:"subcid"`
	Subcname string `json:"subcname"`
}

type TaoBaoRepo

type TaoBaoRepo interface {
	CarouseList(ctx context.Context, params map[string]string) ([]Carouse, error)
}

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 (uc *TaoBaoUseCase) CarouseList(ctx context.Context, params map[string]string) ([]*Carouse, error)

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

type VIPUseCase

type VIPUseCase struct {
}

func NewVIPUseCase

func NewVIPUseCase() *VIPUseCase

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL