Documentation
¶
Index ¶
- type FormData
- func (f *FormData) AddDataField(name string, contentType string, data []byte)
- func (f *FormData) AddFileField(name string, contentType string, file *os.File) error
- func (f *FormData) Boundary() string
- func (f *FormData) Close() error
- func (f *FormData) Do(client HttpClientable, req *http.Request) (*http.Response, error)
- func (f *FormData) Read(p []byte) (int, error)
- type HttpClientable
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FormData ¶
type FormData struct { io.ReadCloser // contains filtered or unexported fields }
func NewFormData ¶
func NewFormData() *FormData
func (*FormData) AddDataField ¶
func (*FormData) AddFileField ¶
Click to show internal directories.
Click to hide internal directories.