core

package
v1.0.17 Latest Latest
Warning

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

Go to latest
Published: Apr 25, 2021 License: Apache-2.0 Imports: 5 Imported by: 60

Documentation

Index

Constants

View Source
const (
	BASE_URL = "https://ad.oceanengine.com/open_api/"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type SDKClient

type SDKClient struct {
	AppID  string
	Secret string
	// contains filtered or unexported fields
}

func NewSDKClient

func NewSDKClient(appID string, secret string) *SDKClient

func (*SDKClient) DisableSandbox

func (c *SDKClient) DisableSandbox()

func (*SDKClient) Get

func (c *SDKClient) Get(gw string, req model.GetRequest, resp model.Response, accessToken string) error

func (*SDKClient) Post

func (c *SDKClient) Post(gw string, req model.PostRequest, resp model.Response, accessToken string) error

func (*SDKClient) SetDebug

func (c *SDKClient) SetDebug(debug bool)

func (*SDKClient) UseSandbox

func (c *SDKClient) UseSandbox()

Directories

Path Synopsis
internal

Jump to

Keyboard shortcuts

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