ospkg

package
v0.4.2 Latest Latest
Warning

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

Go to latest
Published: Jan 12, 2020 License: AGPL-3.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

Functions

func NewProtobufClient

func NewProtobufClient(remoteURL RemoteURL) rpc.OSDetector

Types

type CustomHeaders added in v0.4.0

type CustomHeaders http.Header

type Detector

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

func NewDetector

func NewDetector(customHeaders CustomHeaders, detector rpc.OSDetector) Detector

func (Detector) Detect

func (d Detector) Detect(osFamily, osName string, pkgs []analyzer.Package) ([]types.DetectedVulnerability, bool, error)

type RemoteURL

type RemoteURL string

Jump to

Keyboard shortcuts

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