Documentation
¶
Index ¶
- func HttpGet(path string) ([]byte, error)
- func HttpPost(path string, body interface{}) ([]byte, error)
- func HttpPostFile(path string, options FileOptions) ([]byte, error)
- func HttpPostOriginFile(path, fileName string, size int, body []byte) ([]byte, error)
- func ParseRoute(path string) string
- type FileOptions
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func HttpPostFile ¶
func HttpPostFile(path string, options FileOptions) ([]byte, error)
HttpPostFile POST上传文件
func HttpPostOriginFile ¶ added in v0.0.28
HttpPostOriginFile POST上传文件
Types ¶
Click to show internal directories.
Click to hide internal directories.