Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client interface { // Ingest ingests specified type dataset from the exposing service, // and parses dataset with the given IngestParser. Ingest(ctx context.Context, typ schema.DatasetIngestRequestType, since time.Time, parse IngestParser) (err error) // IngestAll ingests all types dataset from the exposing service, // and parses dataset with the given IngestParser. IngestAll(ctx context.Context, since time.Time, parse IngestParser) (err error) // Close closes the client. Close() error }
Client holds the actions for receiving from the exposing service.
type IngestParser ¶
type IngestParser func(currentWindow int32, body schema.DatasetIngestResponseBody) error
IngestParser is the parser to parse the given api.DatasetIngestResponseBody.
Directories ¶
Path | Synopsis |
---|---|
Package cvss provides a toolbox of the CVSS vector calculating.
|
Package cvss provides a toolbox of the CVSS vector calculating. |
cvssv2
Package cvssv2 provides a toolbox of the CVSS(V2) vector calculating, according to https://www.first.org/cvss/v2/guide。
|
Package cvssv2 provides a toolbox of the CVSS(V2) vector calculating, according to https://www.first.org/cvss/v2/guide。 |
cvssv3
Package cvssv3 provides a toolbox of the CVSS(V3) vector calculating, according to https://www.first.org/cvss/v3.1/specification-document and https://www.first.org/cvss/v3.0/specification-document.
|
Package cvssv3 provides a toolbox of the CVSS(V3) vector calculating, according to https://www.first.org/cvss/v3.1/specification-document and https://www.first.org/cvss/v3.0/specification-document. |
Package genver inspires by golang.org/x/mod/semver, and processes none semantic standard version.
|
Package genver inspires by golang.org/x/mod/semver, and processes none semantic standard version. |
Package ssvc provides a toolbox of the SSVC vector calculating.
|
Package ssvc provides a toolbox of the SSVC vector calculating. |
ssvc2
Package ssvc2 provides a toolbox of the SSVC(V2) vector calculating, according to https://resources.sei.cmu.edu/library/asset-view.cfm?assetid=653459.
|
Package ssvc2 provides a toolbox of the SSVC(V2) vector calculating, according to https://resources.sei.cmu.edu/library/asset-view.cfm?assetid=653459. |
Package wfn provides a representation, bindings and matching of the Well-Formed CPE names as per https://nvlpubs.nist.gov/nistpubs/Legacy/IR/nistir7695.pdf and https://nvlpubs.nist.gov/nistpubs/Legacy/IR/nistir7696.pdf
|
Package wfn provides a representation, bindings and matching of the Well-Formed CPE names as per https://nvlpubs.nist.gov/nistpubs/Legacy/IR/nistir7695.pdf and https://nvlpubs.nist.gov/nistpubs/Legacy/IR/nistir7696.pdf |
Click to show internal directories.
Click to hide internal directories.