multipart

package
v0.6.3 Latest Latest
Warning

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

Go to latest
Published: Apr 10, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Form

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

func (*Form) ContentLength

func (f *Form) ContentLength() int64

func (*Form) ContentType

func (f *Form) ContentType() string

func (*Form) Read

func (f *Form) Read(p []byte) (n int, err error)

type FormBuilder

type FormBuilder interface {
	AddValue(name, value string) FormBuilder
	AddFile(name, filename string, r io.Reader) FormBuilder
	Build() *Form
}

func Builder

func Builder() FormBuilder

Jump to

Keyboard shortcuts

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