Documentation ¶
Index ¶
- func Call(c *AlibabaCloud) (_result []byte, _err error)
- func GetCurrentAbPath() string
- func GetCurrentAbPathByCaller() string
- func GetCurrentAbPathByExecutable() string
- func SendHttpRequest(url string, method string, body io.Reader, headers map[string]string) ([]byte, error)
- func Ternary(condition bool, trueVal, falseVal interface{}) interface{}
- type AlibabaCloud
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Call ¶ added in v1.0.8
func Call(c *AlibabaCloud) (_result []byte, _err error)
func GetCurrentAbPathByCaller ¶ added in v1.0.1
func GetCurrentAbPathByCaller() string
GetCurrentAbPathByCaller 获取当前执行文件绝对路径(go run)
func GetCurrentAbPathByExecutable ¶ added in v1.0.1
func GetCurrentAbPathByExecutable() string
GetCurrentAbPathByExecutable 获取当前执行文件绝对路径
Types ¶
type AlibabaCloud ¶ added in v1.0.8
type AlibabaCloud struct { AccessKeyId string AccessKeySecret string Endpoint string ServiceName string FunctionName string Body []byte }
func GetAlibabaCloudByEnv ¶ added in v1.0.8
func GetAlibabaCloudByEnv() *AlibabaCloud
Click to show internal directories.
Click to hide internal directories.