package
2.1.4-stackrox+incompatible
Repository: https://github.com/stackrox/scanner.git
Documentation: pkg.go.dev
# Functions
GetClientAddr returns the first value in X-Forwarded-For if it exists otherwise fall back to use RemoteAddr.
GetWithUserAgent performs an HTTP GET with the proper Clair User-Agent.
Status2xx returns true if the response's status code is success (2xx).