Versions in this module Expand all Collapse all v1 v1.7.1 Oct 3, 2025 Changes in this version + type DataType int + const FileType + const NoneType + const ParamType + type Multipart struct + func NewMultipart(ctx context.Context, client *http.Client, method, url string) *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