Documentation
¶
Index ¶
- func GetRequest(url string, queryStrings map[string]string, destResult, destErrStruct any) error
- func PostFormDataWithSingleFile(url string, fullfilepath string, filename string) (string, error)
- func PostRequest(url string, requestBody any, destResult, destErrStruct any) error
- func PostRequestWithHeader(url string, requestBody any, destResult, destErrStruct any, ...) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetRequest ¶
func PostFormDataWithSingleFile ¶
key:file 里面放一个文件 multipart/form-data 传一个文件
func PostRequest ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.