formcontent

package
v0.0.0-...-0e59c02 Latest Latest
Warning

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

Go to latest
Published: Mar 27, 2018 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ContentSubmission

type ContentSubmission struct {
	Length      int64
	Content     io.Reader
	ContentType string
}

type Form

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

func NewForm

func NewForm() (Form, error)

func (Form) AddField

func (f Form) AddField(key, value string) error

func (Form) AddFile

func (f Form) AddFile(key, path string) error

func (Form) Finalize

func (f Form) Finalize() (ContentSubmission, error)

Jump to

Keyboard shortcuts

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