Documentation ¶
Index ¶
- type Wrapper
- func (w *Wrapper) Boundary() string
- func (w *Wrapper) Close() error
- func (w *Wrapper) CreateFormField(fieldName string) (io.Writer, error)
- func (w *Wrapper) CreateFormFile(fieldName, fileName string) (io.Writer, error)
- func (w *Wrapper) CreatePart(header textproto.MIMEHeader) (io.Writer, error)
- func (w *Wrapper) FormDataContentType() string
- func (w *Wrapper) SetBoundary(boundary string) error
- func (w *Wrapper) WriteField(fieldName, value string) error
- func (w *Wrapper) Writer() *bytes.Buffer
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Wrapper ¶
type Wrapper struct {
// contains filtered or unexported fields
}
func NewMultiPartWrapper ¶
func NewMultiPartWrapper() *Wrapper
func (*Wrapper) CreateFormField ¶
func (*Wrapper) CreateFormFile ¶
func (*Wrapper) CreatePart ¶
func (*Wrapper) FormDataContentType ¶
func (*Wrapper) SetBoundary ¶
func (*Wrapper) WriteField ¶
Click to show internal directories.
Click to hide internal directories.