client

package
v1.0.8 Latest Latest
Warning

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

Go to latest
Published: Aug 6, 2018 License: Apache-2.0 Imports: 4 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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