vipsdk

package
v1.0.3 Latest Latest
Warning

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

Go to latest
Published: Feb 28, 2025 License: GPL-3.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

View Source
const (
	TestOpenAPIURL = "http://sandbox.vipapis.com"
	ProdOpenAPIURL = "https://vop.vipapis.com"
	DefaultVersion = "1.0.0"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	// contains filtered or unexported fields
}

func NewClient

func NewClient(appKey, appSecret, host string, token ...string) *Client

func (*Client) Exec

func (a *Client) Exec(out interface{}) error

func (*Client) SetParam

func (a *Client) SetParam(param Param) *Client

func (*Client) UpdateKey

func (a *Client) UpdateKey(appKey, appSecret string)

type Param

type Param interface {
	ServiceName() string
	MethodName() string
	Version() string
	Params() interface{}
	Token() bool
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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