client

package
v1.0.3 Latest Latest
Warning

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

Go to latest
Published: Jul 5, 2018 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MpsClient

type MpsClient struct {
	core.JDCloudClient
}

func NewMpsClient

func NewMpsClient(credential *core.Credential) *MpsClient

func (*MpsClient) CreateThumbnailTask

func (c *MpsClient) CreateThumbnailTask(request *mps.CreateThumbnailTaskRequest) (*mps.CreateThumbnailTaskResponse, error)

创建截图任务

func (*MpsClient) GetNotification

func (c *MpsClient) GetNotification(request *mps.GetNotificationRequest) (*mps.GetNotificationResponse, error)

获取截图通知

func (*MpsClient) GetThumbnailTask

func (c *MpsClient) GetThumbnailTask(request *mps.GetThumbnailTaskRequest) (*mps.GetThumbnailTaskResponse, error)

获取截图任务

func (*MpsClient) ListThumbnailTask

func (c *MpsClient) ListThumbnailTask(request *mps.ListThumbnailTaskRequest) (*mps.ListThumbnailTaskResponse, error)

查询截图任务

func (*MpsClient) SetConfig

func (c *MpsClient) SetConfig(config *core.Config)

func (*MpsClient) SetLogger

func (c *MpsClient) SetLogger(logger core.Logger)

func (*MpsClient) SetNotification

func (c *MpsClient) SetNotification(request *mps.SetNotificationRequest) (*mps.SetNotificationResponse, error)

设置媒体处理通知, 在设置Notification时会对endpoint进行校验, 设置时会对endpoint发一条SubscriptionConfirmation(x-jdcloud-message-type头)的通知, 要求把Message内容进行base64编码返回给系统(body)进行校验

Jump to

Keyboard shortcuts

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