Documentation
¶
Index ¶
- type DataType
- type Multipart
- func (r *Multipart) Bool(key string, value bool) *Multipart
- func (r *Multipart) File(key, filename string, content io.Reader) *Multipart
- func (r *Multipart) Float(key string, value float64) *Multipart
- func (r *Multipart) Header(key, value string) *Multipart
- func (r *Multipart) Int(key string, value int) *Multipart
- func (r *Multipart) Param(key, value string) *Multipart
- func (r *Multipart) PathBool(key string, value bool) *Multipart
- func (r *Multipart) PathFloat(key string, value float64) *Multipart
- func (r *Multipart) PathInt(key string, value int) *Multipart
- func (r *Multipart) PathParam(key, value string) *Multipart
- func (r *Multipart) Send() (*http.Response, error)
- func (r *Multipart) Timeout(duration time.Duration) *Multipart
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
}
Multipart provides a streaming multipart/form-data builder for HTTP requests.
func NewMultipart ¶
NewMultipart creates a new streaming multipart/form-data request builder.
func (*Multipart) PathParam ¶
PathParam replaces a path variable placeholder in the URL. Replaces {key} with the provided value. Example: "/users/{id}" with PathParam("id", "123") becomes "/users/123"
Click to show internal directories.
Click to hide internal directories.