Versions in this module Expand all Collapse all v1 v1.1.0 Feb 23, 2024 Changes in this version type Client + func (c *Client) GetUpdateInterval() time.Duration + type ClientOption func(*Client) + func WithDataURL(dataURL string) ClientOption + func WithHTTPClient(httpClient HttpClient) ClientOption + func WithUpdateInterval(updateInterval time.Duration) ClientOption v1.0.0 Feb 22, 2024 Changes in this version + type Client struct + DataURL string + func NewClient() *Client + func (c *Client) GetAllScores() ([]*Score, error) + func (c *Client) GetLastUpdated() time.Time + func (c *Client) GetScore(cve string) (*Score, error) + func (c *Client) SetDataURL(url string) + func (c *Client) SetHttpClient(httpClient HttpClient) + func (c *Client) SetUpdateInterval(updateInterval time.Duration) + type EPSSError struct + func (e *EPSSError) Error() string + type HttpClient interface + Get func(url string) (*http.Response, error) + type Score struct + CVE string + EPSS float32 + Percentile float32