Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Streamer ¶
type Streamer struct { ContentType string // contains filtered or unexported fields }
A wrapper around the complexities of streaming a multipart file and fields to an http endpoint that infuriatingly requires a Content-Length Stolen/adapted from the multipart streamer in https://github.com/buildkite/agentv/v3/internal/artifact, which itself was derived from https://github.com/technoweenie/multipartstreamer
func (*Streamer) WriteField ¶
WriteField writes a form field to the multipart.Writer.
Click to show internal directories.
Click to hide internal directories.