Documentation
Index ¶
- func BuildPostRequest(ae Aliexpress, api API) (string, error)
- func BuildRequest(ae Aliexpress, api API) string
- func EncryptDESCBC(src, key string) string
- func GetMD5(str string) string
- func PKCS5Padding(ciphertext []byte, blockSize int) []byte
- func Signature(ae Aliexpress, api API) string
- type API
- type Aliexpress
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BuildPostRequest ¶
func BuildPostRequest(ae Aliexpress, api API) (string, error)
BuildPostRequest BuildPostRequest
Types ¶
type Aliexpress ¶
type Aliexpress struct { AppKey string AppSecret string RedirectURL string ServerURL string V string PartnerID string TargetAppKey string Format string Simplify string Token string SignMethod string Timestamp string }
Aliexpress Aliexpress
func (*Aliexpress) InitAPI ¶
func (ae *Aliexpress) InitAPI(appKey, appSecret, serverURL, session string)
InitAPI InitAPI
Directories
Path | Synopsis |
---|---|
api/appraise | |
api/category | |
api/freight | |
api/image | |
api/issue | |
api/logistics | |
api/marketing | |
api/member | |
api/merchant | |
api/product | |
api/trade |