core

package
v0.0.0-...-0b95313 Latest Latest
Warning

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

Go to latest
Published: Mar 15, 2021 License: Apache-2.0 Imports: 5 Imported by: 59

Documentation

Index

Constants

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

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