jdk

package
v0.0.5 Latest Latest
Warning

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

Go to latest
Published: May 29, 2021 License: MIT Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrTypeIsNil   = errors.New("类型为Nil")
	ErrTypeUnknown = errors.New("未处理到的数据类型")
)
View Source
var (
	// AppKey 应用Key
	AppKey string
	// SecretKey 秘密
	SecretKey string
	// Router 环境请求地址
	Router = "https://api.jd.com/routerjson"
	// Timeout ...
	Timeout time.Duration
)

Functions

func Execute

func Execute(method string, param Parameter) (res *simplejson.Json, err error)

Execute 执行API接口

Types

type Parameter

type Parameter map[string]interface{}

Parameter 参数

Jump to

Keyboard shortcuts

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