Documentation ¶ Index ¶ func Fetch(ctx context.Context, httpClient httputil.Requester, destination string) error type Conn func AutoFetchAndOpen(ctx context.Context, path string, httpClient httputil.Requester, ...) (*Conn, error) func Open(uri string) (*Conn, error) func (c *Conn) Close() error func (c *Conn) GetGitHubAdvisoriesForRepository(ctx context.Context, repository string, version *semver.Version) ([]osv.Vulnerability, error) 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) Source Files ¶ View all Source files db.gofetch.goutil.go Click to show internal directories. Click to hide internal directories.