Documentation
¶
Index ¶
Constants ¶
View Source
const ( HTTPAuthHeaderSecretPrefix = "HTTP_AUTH_HEADER_" HTTPAuthTokenSecretPrefix = "HTTP_AUTH_TOKEN_" )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type HTTPIdentifier ¶
type HTTPIdentifier struct {
TLS bool
URL string
Checksum digest.Digest
Filename string
Perm int
UID int
GID int
AuthHeaderSecret string
Header []HeaderField
}
func NewHTTPIdentifier ¶
func NewHTTPIdentifier(str string, tls bool) (*HTTPIdentifier, error)
func (*HTTPIdentifier) Capture ¶
func (id *HTTPIdentifier) Capture(c *provenance.Capture, pin string) error
func (*HTTPIdentifier) Scheme ¶
func (id *HTTPIdentifier) Scheme() string
type HeaderField ¶
Click to show internal directories.
Click to hide internal directories.