vulndb

package
v0.24.2 Latest Latest
Warning

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

Go to latest
Published: Feb 2, 2026 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Fetch

func Fetch(ctx context.Context, httpClient httputil.Requester, destination string) error

Types

type Conn

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

func AutoFetchAndOpen

func AutoFetchAndOpen(ctx context.Context, path string, httpClient httputil.Requester, maxAge time.Duration) (*Conn, error)

func Open

func Open(uri string) (*Conn, error)

func (*Conn) Close

func (c *Conn) Close() error

func (*Conn) GetGitHubAdvisoriesForRepository

func (c *Conn) GetGitHubAdvisoriesForRepository(ctx context.Context, repository string, version *semver.Version) ([]osv.Vulnerability, error)

Jump to

Keyboard shortcuts

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