package
3.0.0-pre1
Repository: https://github.com/quay/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.
GetWithContext do HTTP GET to the URI with headers and returns response blob reader.
GetWithUserAgent performs an HTTP GET with the proper Clair User-Agent.
Status2xx returns true if the response's status code is success (2xx).

# Type aliases

Middleware is a function used to wrap the logic of another http.Handler.