Documentation ¶
Index ¶
- type AkunEtalaseService
- type EtalaseMapItem
- type EtalaseMapService
- func (service *EtalaseMapService) DeleteEtalase(name string) error
- func (service *EtalaseMapService) GetEtalase(catID int) (*EtalaseMapItem, error)
- func (service *EtalaseMapService) GetListMap(namespace string) ([]*ShopeeEtalaseMapItem, error)
- func (service *EtalaseMapService) ListEtalase() ([]*EtalasePayload, error)
- func (service *EtalaseMapService) UpdateBulkMap(payload []*EtalaseMapItem) error
- type EtalasePayload
- type ShopeeEtalaseMapItem
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AkunEtalaseService ¶
type AkunEtalaseService struct { sync.Mutex Etalase map[string]*api.ShopShowcaseResult // contains filtered or unexported fields }
func NewAkunEtalaseService ¶
func NewAkunEtalaseService( apiclient *api.TokopediaApi, mapservice *EtalaseMapService, ) *AkunEtalaseService
func (*AkunEtalaseService) GetEtalase ¶
func (service *AkunEtalaseService) GetEtalase(catID int) (*api.ShopShowcaseResult, error)
func (*AkunEtalaseService) GetSellerEtalase ¶
func (service *AkunEtalaseService) GetSellerEtalase(name string) (*api.ShopShowcaseResult, error)
func (*AkunEtalaseService) RefreshShowCase ¶
func (service *AkunEtalaseService) RefreshShowCase() error
type EtalaseMapItem ¶
type EtalaseMapService ¶
type EtalaseMapService struct {
// contains filtered or unexported fields
}
func NewEtalaseMapService ¶
func NewEtalaseMapService( db *gorm.DB, shopeePAgg shopee_repo.ProductAggregate, ) *EtalaseMapService
func (*EtalaseMapService) DeleteEtalase ¶
func (service *EtalaseMapService) DeleteEtalase(name string) error
func (*EtalaseMapService) GetEtalase ¶
func (service *EtalaseMapService) GetEtalase(catID int) (*EtalaseMapItem, error)
func (*EtalaseMapService) GetListMap ¶ added in v1.0.2
func (service *EtalaseMapService) GetListMap(namespace string) ([]*ShopeeEtalaseMapItem, error)
func (*EtalaseMapService) ListEtalase ¶
func (service *EtalaseMapService) ListEtalase() ([]*EtalasePayload, error)
func (*EtalaseMapService) UpdateBulkMap ¶ added in v1.0.2
func (service *EtalaseMapService) UpdateBulkMap(payload []*EtalaseMapItem) error
type EtalasePayload ¶
type ShopeeEtalaseMapItem ¶ added in v1.0.2
Click to show internal directories.
Click to hide internal directories.