Versions in this module Expand all Collapse all v0 v0.1.0 Jun 14, 2026 Changes in this version + const BaseURL + const DefaultUserAgent + const Host + type Client struct + HTTP *http.Client + Rate time.Duration + Retries int + UserAgent string + func NewClient() *Client + func (c *Client) DrugProperties(ctx context.Context, rxcui string) (name, tty string, err error) + func (c *Client) Drugs(ctx context.Context, drugName string) ([]*Drug, error) + func (c *Client) Get(ctx context.Context, rawURL string) ([]byte, error) + func (c *Client) Interactions(ctx context.Context, names []string) ([]*Interaction, error) + func (c *Client) Lookup(ctx context.Context, drugName string) ([]*Drug, error) + func (c *Client) ResolveName(ctx context.Context, name string) ([]string, error) + 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 Drug struct + Name string + RxCUI string + Synonym string + Type string + type Interaction struct + Description string + Drug1 string + Drug2 string + Severity string