httpc

package
v0.1.6 Latest Latest
Warning

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

Go to latest
Published: Jan 9, 2024 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DownLoadFile

func DownLoadFile(url, method, filename string, params map[string]interface{}, headers map[string]string) (string, error)

func Request

func Request(url, method string, params map[string]interface{}, headers map[string]string, timeout time.Duration) (map[string]interface{}, error)

func UpLoadFileBinary

func UpLoadFileBinary(url, method, filePath string, headers map[string]string) (map[string]interface{}, error)

func UpLoadFileForm

func UpLoadFileForm(url, method, filePath string, params map[string]interface{}, headers map[string]string) (map[string]interface{}, error)

func UpLoadFileWriter

func UpLoadFileWriter(url, method, filePath string, headers map[string]string) (map[string]interface{}, error)

func UpLoadFilesForm

func UpLoadFilesForm(url, method string, filePaths []string, params map[string]interface{}, headers map[string]string) (map[string]interface{}, error)

func UpLoadFilesWriter

func UpLoadFilesWriter(url, method string, filePaths []string, headers map[string]string) (map[string]interface{}, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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