api

package
v0.1.5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 6, 2021 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

Package api implements a client to fetch vulnerabilities from vfeed.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	// contains filtered or unexported fields
}

Client holds the state.

func NewClient

func NewClient(path string) *Client

NewClient creates a Client.

func (*Client) FetchAllVulnerabilities

func (c *Client) FetchAllVulnerabilities(since int64) (<-chan *schema.Item, error)

FetchAllVulnerabilities will return all vfeed items. The "since" parameter is ignored.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL