Versions in this module Expand all Collapse all v0 v0.1.0 Jun 15, 2026 Changes in this version + const Host + type Client struct + func NewClient(cfg Config) *Client + func (c *Client) GetDocument(ctx context.Context, halID string) (*Document, error) + func (c *Client) Recent(ctx context.Context, limit int) ([]*Document, error) + func (c *Client) Search(ctx context.Context, query string, limit, start int) ([]*Document, int, error) + func (c *Client) SearchByDomain(ctx context.Context, domain string, limit, start int) ([]*Document, int, error) + type Config struct + BaseURL string + Rate time.Duration + Retries int + Timeout time.Duration + UserAgent string + func DefaultConfig() Config + type Document struct + Abstract string + Authors []string + DocType string + Domain string + ID string + Language string + Title string + URI string + Year int + 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)