Versions in this module Expand all Collapse all v0 v0.6.0 Jul 11, 2023 Changes in this version + type Client struct + func NewClient(source string, opts *Options) (_ *Client, err error) + func NewInMemoryClient(entries []*osv.Entry) (*Client, error) + func (c *Client) ByModules(ctx context.Context, reqs []*ModuleRequest) (_ []*ModuleResponse, err error) + func (c *Client) LastModifiedTime(ctx context.Context) (_ time.Time, err error) + type ModuleRequest struct + Path string + Version string + type ModuleResponse struct + Entries []*osv.Entry + Path string + Version string + type Options struct + HTTPClient *http.Client