Documentation ¶
Index ¶
Constants ¶
View Source
const (
ContentTypeForm = "application/x-www-form-urlencoded"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Encoder ¶
type Encoder struct {
// contains filtered or unexported fields
}
Encoder is a multipart encoder object
func NewFormEncoder ¶ added in v0.0.4
NewFormEncoder creates a new encoder object, which writes application/x-www-form-urlencoded to the io.Writer
func NewMultipartEncoder ¶ added in v0.0.4
NewMultipartEncoder creates a new encoder object, which writes multipart/form-data to the io.Writer
func (*Encoder) ContentType ¶
Return the MIME content type of the data
Click to show internal directories.
Click to hide internal directories.