Versions in this module Expand all Collapse all v1 v1.0.0 Sep 24, 2018 Changes in this version + func AESDecryptMsg(ciphertext []byte, aesKey []byte) (random, rawXMLMsg, appID []byte, err error) + func AESEncryptMsg(random, rawXMLMsg []byte, appID string, aesKey []byte) (ciphertext []byte) + func DecodeWithCommonError(response []byte, apiName string) (err error) + func DecryptMsg(appID, encryptedMsg, aesKey string) (random, rawMsgXMLBytes []byte, err error) + func EncryptMsg(random, rawXMLMsg []byte, appID, aesKey string) (encrtptMsg []byte, err error) + func GetCurrTs() int64 + func HTTPGet(uri string) ([]byte, error) + func MD5Sum(txt string) (sum string) + func PostFile(fieldname, filename, uri string) ([]byte, error) + func PostJSON(uri string, obj interface{}) ([]byte, error) + func PostMultipartForm(fields []MultipartFormField, uri string) (respBody []byte, err error) + func PostXML(uri string, obj interface{}) ([]byte, error) + func RandomStr(length int) string + func Signature(params ...string) string + type CommonError struct + ErrCode int64 + ErrMsg string + type MultipartFormField struct + Fieldname string + Filename string + IsFile bool + Value []byte Incompatible versions in this module v2.0.1+incompatible Oct 22, 2019 v2.0.0+incompatible Aug 6, 2019