youzan-sdk-go: github.com/xu42/youzan-sdk-go Index | Files | Directories

package youzan

import "github.com/xu42/youzan-sdk-go"

Index

Package Files

youzan.go

func Call Uses

func Call(accessToken, apiName, apiVersion string, params map[string]string) (resp api.CallResponse, err error)

Call 发起接口调用

func GenSelfToken Uses

func GenSelfToken(clientID, clientSecret, kdtID string) (resp auth.GenSelfTokenResponse, err error)

GenSelfToken 生成自用型Token

func GenToolToken Uses

func GenToolToken(clientID, clientSecret, code, redirectURL string) (resp auth.GenToolTokenResponse, err error)

GenToolToken 生成工具型Token

Directories

PathSynopsis
api
auth
util

Package youzan imports 2 packages (graph). Updated 2018-09-22. Refresh now. Tools for package owners.