package
Version:
v0.2.5
Opens a new window with list of versions in this module.
Published: Sep 28, 2023
License: MulanPSL-2.0
Opens a new window with license information.
Imports: 11
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
-
func Get(_url string, header http.Header, params url.Values, timeout time.Duration) (*http.Response, error)
-
func GetJson(_url string, header http.Header, params url.Values, timeout time.Duration) (map[string]any, error)
-
func GetUrl(_url string, params url.Values) (string, error)
-
func Post(_url string, header http.Header, params map[string]string, ...) (*http.Response, error)
-
func PostJson(_url string, header http.Header, params map[string]string, ...) (map[string]any, error)
-
type Value
_url: 如果出现error:first path segment in URL cannot contain colon. 那么前面加上http://
files: key-FormName,value-FileName
Source Files
¶
Click to show internal directories.
Click to hide internal directories.