Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Multipart ¶
type Multipart struct {
// contains filtered or unexported fields
}
func NewMultipart ¶
func NewMultipart() *Multipart
Create a new multipart/form-data object
Example:
m := NewMultipart() // Insert k-v data err := m.Insert("key", "value") require.NoError(t, err) // Insert files err := m.InsertFile("key", file)
func (*Multipart) ContentType ¶
Outputs content-type
Click to show internal directories.
Click to hide internal directories.