package
Version:
v1.0.92
Opens a new window with list of versions in this module.
Published: Nov 8, 2024
License: MulanPSL-2.0
Opens a new window with license information.
Imports: 5
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type RequestGetOptions struct {
URL string `json:"url"`
Params map[string]string `json:"params"`
}
type RequestPostOptions struct {
URL string `json:"url"`
Data map[string]any `json:"data"`
}
RequestPostOptions 结构体用于封装POST请求的选项
type Response struct {
Code int `json:"code"`
Msg string `json:"msg"`
Content any `json:"content"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.