Documentation ¶
Overview ¶
Package http implements functionality common to HTTP uploading pipelines.
Index ¶
Constants ¶
View Source
const ( // ModeBinary uploads only compiled binaries. ModeBinary = "binary" // ModeArchive uploads release archives. ModeArchive = "archive" )
Variables ¶
This section is empty.
Functions ¶
func CheckConfig ¶
CheckConfig validates an upload configuration returning a descriptive error when appropriate.
Types ¶
type ResponseChecker ¶
ResponseChecker is a function capable of validating an http server response. It must return and error when the response must be considered a failure.
Click to show internal directories.
Click to hide internal directories.