upformfile

package
v0.0.0-...-382867a Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 25, 2021 License: GPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FormDataRequest

func FormDataRequest(method, url string, uploadFile io.Reader, fieldName, fileName string, data, headers map[string]string) (*http.Request, error)

FormDataRequest ...

func MultiUpload

func MultiUpload(method, url string, files map[string]io.Reader) (*http.Response, error)

MultiUpload abc

func Upload

func Upload(method, url string, file io.Reader, fileid, filename string) (*http.Response, error)

Upload Method URL file(io.Reader) filed filename Python: requests.<method>(url,files={filed:open(filename,"rb")})

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL