Versions in this module Expand all Collapse all v0 v0.1.0 Jun 14, 2026 Changes in this version + const BaseURL + const Host + type CVE struct + CWEs []string + Description string + ID string + LastModified string + Published string + References []string + Score *float64 + Severity string + Status string + type Client struct + func NewClient(cfg Config) *Client + func (c *Client) CVE(ctx context.Context, id string) (*CVE, error) + func (c *Client) Recent(ctx context.Context, opts RecentOptions) ([]*CVE, error) + func (c *Client) Search(ctx context.Context, keyword string, opts SearchOptions) ([]*CVE, error) + type Config struct + APIKey string + 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 RecentOptions struct + Days int + Limit int + Severity string + type SearchOptions struct + Limit int + Severity string