client

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Apr 24, 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 {
	JDCloudClient
}

func NewMpsClient

func NewMpsClient(credential *Credential) *MpsClient

func (*MpsClient) CreateThumbnailTask

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

创建截图任务

func (*MpsClient) GetNotification

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

获取截图通知

func (*MpsClient) GetThumbnailTask

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

获取截图任务

func (*MpsClient) ListThumbnailTask

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

查询截图任务

func (*MpsClient) SetConfig

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

func (*MpsClient) SetLogger

func (c *MpsClient) SetLogger(logger Logger)

func (*MpsClient) SetNotification

func (c *MpsClient) SetNotification(request *SetNotificationRequest) (*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