multipart

package
v0.13.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 12, 2025 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Multipart

type Multipart struct {
	io.Reader
	// contains filtered or unexported fields
}

Multipart implements io.Reader for multipart data.

func NewMultipart

func NewMultipart(kvs []core.KeyVal) *Multipart

NewMultipart returns a Multipart using the provided key/values.

func (*Multipart) ContentType

func (m *Multipart) ContentType() string

ContentType returns the Content-Type header value to use for this request.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL