Documentation ¶
Index ¶
- Variables
- type BrowseNodeItemCursor
- type Client
- func (c *Client) GetBrowseNodes(ctx context.Context, browseNodeIDs []string) ([]api.BrowseNode, error)
- func (c *Client) NewBrowseNodeItemCursor(browseNodeID string, minPrice int, maxPrice int) *BrowseNodeItemCursor
- func (c *Client) SearchItems(ctx context.Context, params *api.SearchItemsParams) (*api.SearchResult, error)
Constants ¶
This section is empty.
Variables ¶
View Source
var Done = errors.New("DONE")
View Source
var TransactionPerDayExhausted = errors.New("TPD is exhausted")
Functions ¶
This section is empty.
Types ¶
type BrowseNodeItemCursor ¶
type BrowseNodeItemCursor struct {
// contains filtered or unexported fields
}
func (*BrowseNodeItemCursor) CurMinPrice ¶
func (g *BrowseNodeItemCursor) CurMinPrice() int
func (*BrowseNodeItemCursor) CurPage ¶
func (g *BrowseNodeItemCursor) CurPage() int
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func (*Client) GetBrowseNodes ¶
func (c *Client) GetBrowseNodes(ctx context.Context, browseNodeIDs []string) ([]api.BrowseNode, error)
GetBrowseNodes gets browse nodes (categories) by id list
func (*Client) NewBrowseNodeItemCursor ¶
func (c *Client) NewBrowseNodeItemCursor(browseNodeID string, minPrice int, maxPrice int) *BrowseNodeItemCursor
func (*Client) SearchItems ¶
func (c *Client) SearchItems(ctx context.Context, params *api.SearchItemsParams) (*api.SearchResult, error)
Click to show internal directories.
Click to hide internal directories.