client

package
v1.7.0 Latest Latest
Warning

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

Go to latest
Published: May 9, 2019 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)

创建截图任务,创建成功时返回任务ID。本接口用于截取指定时间点的画面。

func (*MpsClient) DeleteStyleDelimiter added in v1.7.0

func (c *MpsClient) DeleteStyleDelimiter(request *mps.DeleteStyleDelimiterRequest) (*mps.DeleteStyleDelimiterResponse, error)

删除bucket的图片样式分隔符配置

func (*MpsClient) GetNotification

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

获取媒体处理通知

func (*MpsClient) GetStyleDelimiter added in v1.7.0

func (c *MpsClient) GetStyleDelimiter(request *mps.GetStyleDelimiterRequest) (*mps.GetStyleDelimiterResponse, error)

获取bucket的图片样式分隔符配置

func (*MpsClient) GetThumbnailTask

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

根据任务ID获取截图任务。

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)进行校验

func (*MpsClient) SetStyleDelimiter added in v1.7.0

func (c *MpsClient) SetStyleDelimiter(request *mps.SetStyleDelimiterRequest) (*mps.SetStyleDelimiterResponse, error)

设置图片样式分隔符

Jump to

Keyboard shortcuts

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