Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ProductSearchService ¶
type ProductSearchService interface { Search(query string) ([]*model.SneakerProduct, error) SearchBy(field, query string) ([]*model.SneakerProduct, error) SearchSKU(sku string) ([]*model.SneakerProduct, error) SearchBrand(brand string) ([]*model.SneakerProduct, error) SearchModel(model string) ([]*model.SneakerProduct, error) }
type ProductSyncService ¶
type ProductSyncService interface { SyncOne(code string) error Sync(codes []string, params *meta.RequestParams) error SyncAll(params *meta.RequestParams) error SyncQuery(query meta.RequestQuery, params *meta.RequestParams) error }
type ReferenceSearchService ¶
type ReferenceSearchService interface { Search(query string, params *meta.RequestParams) ([]*model.SneakerReference, error) SearchBy(field, query string, params *meta.RequestParams) ([]*model.SneakerReference, error) SearchSKU(sku string, params *meta.RequestParams) ([]*model.SneakerReference, error) SearchBrand(brand string, params *meta.RequestParams) ([]*model.SneakerReference, error) SearchModel(model string, params *meta.RequestParams) ([]*model.SneakerReference, error) }
type ReferenceSyncService ¶
type ReferenceSyncService interface { SyncOne(code string) error Sync(codes []string, params *meta.RequestParams) error SyncAll(params *meta.RequestParams) error SyncQuery(query meta.RequestQuery, params *meta.RequestParams) error }
type SneakerSearchSerializer ¶
type SneakerSearchSerializer interface { DecodeReference(input []byte) (*ref.SneakerReference, error) DecodeReferences(input []byte) ([]*ref.SneakerReference, error) DecodeProduct(input []byte) (*prod.SneakerProduct, error) DecodeProducts(input []byte) ([]*prod.SneakerProduct, error) DecodeMap(input []byte) (map[string]interface{}, error) DecodeInto(input []byte, target interface{}) error Encode(input interface{}) ([]byte, error) }
Click to show internal directories.
Click to hide internal directories.