Versions in this module Expand all Collapse all v0 v0.2.3 Jul 5, 2026 Changes in this version + const DefaultUserAgent + const Version v0.2.1 Jun 12, 2026 v0.2.0 Oct 23, 2025 v0.1.0 Oct 23, 2025 Changes in this version + type AuthError struct + Message string + StatusCode int + func (e *AuthError) Error() string + type Client struct + func NewClient(config *Config) (*Client, error) + func (c *Client) DownloadFile(ctx context.Context, productID, deliveryID, fileID int, dst io.Writer) error + func (c *Client) DownloadFileWithProgress(ctx context.Context, productID, deliveryID, fileID int, dst io.Writer, ...) error + func (c *Client) GetLatestDelivery(ctx context.Context, productID int) (*Delivery, error) + func (c *Client) GetProduct(ctx context.Context, productID int) (*ProductWithDeliveries, error) + func (c *Client) GetProductByName(ctx context.Context, name string) (*Product, error) + func (c *Client) ListProducts(ctx context.Context) ([]*Product, error) + type Config struct + BaseURL string + MaxRetries int + Password string + RetryDelay int + Timeout int + UserAgent string + Username string + func DefaultConfig() *Config + type Delivery struct + DeliveryExpiryDatetime *time.Time + DeliveryID int + DeliveryName string + DeliveryPublicationDatetime time.Time + Files []*DeliveryFile + type DeliveryFile struct + FileChecksum string + FileID int + FileName string + FilePublicationDatetime time.Time + FileSize string + type NotFoundError struct + ID string + Resource string + func (e *NotFoundError) Error() string + type Product struct + Description string + ID int + Name string + type ProductWithDeliveries struct + Deliveries []*Delivery + Description string + ID int + Name string + type RateLimitError struct + RetryAfter int + func (e *RateLimitError) Error() string