aepsdkcore

package
v0.0.0-...-3249af5 Latest Latest
Warning

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

Go to latest
Published: May 26, 2023 License: MIT Imports: 8 Imported by: 26

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SendAepHttpRequest

func SendAepHttpRequest(path string, headers map[string]string, param map[string]string, body string, version string,
	application string, key string, method string) (*http.Response, error)

/ <summary> / 发送api请求到aep / </summary> / <param name="path">api接口路径</param> / <param name="headers">请求head</param> / <param name="param">参数</param> / <param name="body">body,如果为get等没有body请求,填null</param> / <param name="version">api接口版本,在文档中查询</param> / <param name="application">App Key</param> / <param name="key">App Secret</param> / <param name="method">请求的类型,GET、POST、PUT、DELETE</param> / <returns></returns>

func SendHttpRequest

func SendHttpRequest(url string, headers map[string]string, contentType string, method string, body string) (*http.Response, error)

/ <summary> / 处理http请求 / </summary> / <param name="url">请求的url地址</param> / <param name="headers">协议标头</param> / <param name="contentType">请求的内容类型</param> / <param name="method">请求的类型,GET、POST、PUT、DELETE</param> / <param name="body">请求的数据流</param> / <returns></returns>

Types

This section is empty.

Jump to

Keyboard shortcuts

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