Versions in this module Expand all Collapse all v0 v0.1.0 Jun 15, 2026 Changes in this version + const DefaultUserAgent + const Host + var Categories = []string + type Article struct + Category string + Description string + ID string + PublishedAt string + Thumbnail string + Title string + URL string + type Category struct + Name string + Slug string + URL string + type Client struct + func NewClient() *Client + func NewClientWithConfig(cfg Config) *Client + func (c *Client) CategoryArticles(ctx context.Context, slug string, limit int) ([]*Article, error) + func (c *Client) Get(ctx context.Context, rawURL string) ([]byte, error) + func (c *Client) GetCompany(ctx context.Context, ticker string) (*Company, error) + func (c *Client) GetStock(ctx context.Context, ticker string) (*Stock, error) + func (c *Client) LatestArticles(ctx context.Context, limit int) ([]*Article, error) + func (c *Client) ListCategories() []*Category + func (c *Client) ListStocks(ctx context.Context, exchange string, limit int) ([]*Stock, error) + func (c *Client) SearchArticles(ctx context.Context, query string, limit int) ([]*Article, error) + type Company struct + Address string + CompanyName string + Exchange string + FetchedAt string + FullName string + Industry string + Sector string + Ticker string + Website string + 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 Stock struct + ChangeAmount float64 + ChangePercent float64 + CompanyName string + Exchange string + FetchedAt string + Price float64 + Ticker string + Volume int64