package
2.0.8+incompatible
Repository: https://github.com/gitlawr/clair.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).