Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
Client stores information needed to access API API key will be sent in the Authorization field rate limiter is used to enforce their api limits (so we don't go over them)
func (*Client) FetchAllVulnerabilities ¶ added in v0.1.4
func (c *Client) FetchAllVulnerabilities(ctx context.Context, since int64) (<-chan runner.Convertible, error)
FetchAllVulnerabilities will fetch all advisories since given time we first fetch all pages and just collect all identifiers found on them and push them into the `identifiers` channel. Then we start fetchers which take those identifiers and fetch the real advisories
Click to show internal directories.
Click to hide internal directories.