youzan

package module
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Sep 14, 2018 License: GPL-3.0 Imports: 2 Imported by: 5

README

Youzan-SDK-Go

Youzan Yun client for Golang ...

Build Status release GitHub license

Install

go get github.com/xu42/youzan-sdk-go

Usage

TODO

  • 支持自用型应用
  • 支持工具型应用
  • 测试用例

License

GNU General Public License v3.0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Call

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

Call 发起接口调用

func GenSelfToken

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

GenSelfToken 生成自用型Token

func GenToolToken

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

GenToolToken 生成工具型Token

Types

This section is empty.

Directories

Path Synopsis
examples
api

Jump to

Keyboard shortcuts

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