Versions in this module Expand all Collapse all v0 v0.1.0 Jun 15, 2026 Changes in this version + const DefaultUserAgent + const Host + type Client struct + func NewClient() *Client + func NewClientWithConfig(cfg Config) *Client + func (c *Client) CategoryProducts(ctx context.Context, slug string, limit int) ([]*Product, error) + func (c *Client) Get(ctx context.Context, rawURL string) ([]byte, error) + func (c *Client) GetProduct(ctx context.Context, id string) (*Product, error) + func (c *Client) SearchProducts(ctx context.Context, query string, limit int) ([]*Product, error) + type Config struct + BaseURL string + Rate time.Duration + Retries int + Timeout time.Duration + UserAgent string + func DefaultConfig() Config + type Domain struct + func (Domain) Classify(input string) (uriType, id string, err error) + func (Domain) Info() kit.DomainInfo + func (Domain) Locate(uriType, id string) (string, error) + func (Domain) Register(app *kit.App) + type Product struct + DiscountPercent int + FetchedAt string + ID string + IsAuthentic bool + IsFreeShip bool + Location string + Name string + OriginalPrice float64 + Price float64 + Rating float64 + ReviewCount int + SellerName string + SellerRating float64 + SoldCount int64 + URL string