multipartext

package
v0.179.3 Latest Latest
Warning

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

Go to latest
Published: Jul 30, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MultiReadSeeker added in v0.146.0

func MultiReadSeeker(readers ...io.ReadSeeker) (io.ReadSeeker, error)

func NewMultipartReader

func NewMultipartReader(field, filename, description string, src io.Reader) (io.Reader, string, error)

NewMultipartReader creates a new io.Reader that serves multipart form-data from src. Also returns the form data content type (see multipart.Writer#FormDataContentType).

Types

type SizedReadSeeker added in v0.146.0

type SizedReadSeeker struct {
	// contains filtered or unexported fields
}

SizedReadSeeker is a ReadSeeker that also knows its size.

Jump to

Keyboard shortcuts

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