Documentation ¶
Index ¶
- Constants
- type SdkClient
- func (c SdkClient) DisableSandBox()
- func (c *SdkClient) Get(gw string, req model.GetRequest, resp model.Response, accessToken string) error
- func (c *SdkClient) Post(gw string, req model.PostRequest, resp model.Response, accessToken string) error
- func (c *SdkClient) SetDebug(debug bool)
- func (c *SdkClient) Upload(gw string, req model.UploadRequest, resp model.Response, accessToken string) error
- func (c SdkClient) UseSandBox()
Constants ¶
View Source
const (
BASE_URL string = "https://ad.oceanengine.com/open_api/"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SdkClient ¶
func NewSdkClient ¶
NewSdkClient 创建SdkClient
func (*SdkClient) Get ¶
func (c *SdkClient) Get(gw string, req model.GetRequest, resp model.Response, accessToken string) error
Get get api
func (*SdkClient) Post ¶
func (c *SdkClient) Post(gw string, req model.PostRequest, resp model.Response, accessToken string) error
Post post api
Click to show internal directories.
Click to hide internal directories.