multipart

package
v0.0.0-...-375d9ab Latest Latest
Warning

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

Go to latest
Published: Feb 26, 2020 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

This file has automatically been generated on Wed Feb 26 15:50:42 +05 2020. DO NOT EDIT.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FileHeaderOpen

func FileHeaderOpen(fh *multipart.FileHeader) (multipart.File, error)

func FormRemoveAll

func FormRemoveAll(f *multipart.Form) error

func NewReader

func NewReader(r io.Reader, boundary string) *multipart.Reader

func NewWriter

func NewWriter(w io.Writer) *multipart.Writer

func PartClose

func PartClose(p *multipart.Part) error

func PartFileName

func PartFileName(p *multipart.Part) string

func PartFormName

func PartFormName(p *multipart.Part) string

func PartRead

func PartRead(p *multipart.Part, d []byte) (int, error)

func ReaderNextPart

func ReaderNextPart(r *multipart.Reader) (*multipart.Part, error)

func ReaderNextRawPart

func ReaderNextRawPart(r *multipart.Reader) (*multipart.Part, error)

func ReaderReadForm

func ReaderReadForm(r *multipart.Reader, maxMemory int64) (*multipart.Form, error)

func WriterBoundary

func WriterBoundary(w *multipart.Writer) string

func WriterClose

func WriterClose(w *multipart.Writer) error

func WriterCreateFormField

func WriterCreateFormField(w *multipart.Writer, fieldname string) (io.Writer, error)

func WriterCreateFormFile

func WriterCreateFormFile(w *multipart.Writer, fieldname, filename string) (io.Writer, error)

func WriterCreatePart

func WriterCreatePart(w *multipart.Writer, header textproto.MIMEHeader) (io.Writer, error)

func WriterFormDataContentType

func WriterFormDataContentType(w *multipart.Writer) string

func WriterSetBoundary

func WriterSetBoundary(w *multipart.Writer, boundary string) error

func WriterWriteField

func WriterWriteField(w *multipart.Writer, fieldname, value string) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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