v1

package
v0.0.98 Latest Latest
Warning

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

Go to latest
Published: Jul 14, 2022 License: Apache-2.0, BSD-2-Clause, BSD-3-Clause Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DscClientBuilder

func DscClientBuilder() *http_client.HcHttpClientBuilder

func GenReqDefForBatchAddDataMask

func GenReqDefForBatchAddDataMask() *def.HttpRequestDef

func GenReqDefForCreateDatabaseWaterMark

func GenReqDefForCreateDatabaseWaterMark() *def.HttpRequestDef

func GenReqDefForCreateDocWatermark

func GenReqDefForCreateDocWatermark() *def.HttpRequestDef

func GenReqDefForCreateDocWatermarkByAddress added in v0.0.83

func GenReqDefForCreateDocWatermarkByAddress() *def.HttpRequestDef

func GenReqDefForCreateImageWatermark

func GenReqDefForCreateImageWatermark() *def.HttpRequestDef

func GenReqDefForCreateImageWatermarkByAddress added in v0.0.83

func GenReqDefForCreateImageWatermarkByAddress() *def.HttpRequestDef

func GenReqDefForShowDatabaseWaterMark

func GenReqDefForShowDatabaseWaterMark() *def.HttpRequestDef

func GenReqDefForShowDocWatermark

func GenReqDefForShowDocWatermark() *def.HttpRequestDef

func GenReqDefForShowDocWatermarkByAddress added in v0.0.83

func GenReqDefForShowDocWatermarkByAddress() *def.HttpRequestDef

func GenReqDefForShowImageWatermark

func GenReqDefForShowImageWatermark() *def.HttpRequestDef

func GenReqDefForShowImageWatermarkByAddress added in v0.0.83

func GenReqDefForShowImageWatermarkByAddress() *def.HttpRequestDef

func GenReqDefForShowImageWatermarkWithImage added in v0.0.83

func GenReqDefForShowImageWatermarkWithImage() *def.HttpRequestDef

func GenReqDefForShowImageWatermarkWithImageByAddress added in v0.0.83

func GenReqDefForShowImageWatermarkWithImageByAddress() *def.HttpRequestDef

func GenReqDefForShowOpenApiCalledRecords added in v0.0.71

func GenReqDefForShowOpenApiCalledRecords() *def.HttpRequestDef

func GenReqDefForShowScanJobResults added in v0.0.68

func GenReqDefForShowScanJobResults() *def.HttpRequestDef

func GenReqDefForShowScanJobs added in v0.0.68

func GenReqDefForShowScanJobs() *def.HttpRequestDef

Types

type BatchAddDataMaskInvoker added in v0.0.90

type BatchAddDataMaskInvoker struct {
	*invoker.BaseInvoker
}

func (*BatchAddDataMaskInvoker) Invoke added in v0.0.90

type CreateDatabaseWaterMarkInvoker added in v0.0.90

type CreateDatabaseWaterMarkInvoker struct {
	*invoker.BaseInvoker
}

func (*CreateDatabaseWaterMarkInvoker) Invoke added in v0.0.90

type CreateDocWatermarkByAddressInvoker added in v0.0.90

type CreateDocWatermarkByAddressInvoker struct {
	*invoker.BaseInvoker
}

func (*CreateDocWatermarkByAddressInvoker) Invoke added in v0.0.90

type CreateDocWatermarkInvoker added in v0.0.90

type CreateDocWatermarkInvoker struct {
	*invoker.BaseInvoker
}

func (*CreateDocWatermarkInvoker) Invoke added in v0.0.90

type CreateImageWatermarkByAddressInvoker added in v0.0.90

type CreateImageWatermarkByAddressInvoker struct {
	*invoker.BaseInvoker
}

func (*CreateImageWatermarkByAddressInvoker) Invoke added in v0.0.90

type CreateImageWatermarkInvoker added in v0.0.90

type CreateImageWatermarkInvoker struct {
	*invoker.BaseInvoker
}

func (*CreateImageWatermarkInvoker) Invoke added in v0.0.90

type DscClient

type DscClient struct {
	HcClient *http_client.HcHttpClient
}

func NewDscClient

func NewDscClient(hcClient *http_client.HcHttpClient) *DscClient

func (*DscClient) BatchAddDataMask

func (c *DscClient) BatchAddDataMask(request *model.BatchAddDataMaskRequest) (*model.BatchAddDataMaskResponse, error)

BatchAddDataMask 对数据进行脱敏

对数据进行脱敏

详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.

func (*DscClient) BatchAddDataMaskInvoker added in v0.0.90

func (c *DscClient) BatchAddDataMaskInvoker(request *model.BatchAddDataMaskRequest) *BatchAddDataMaskInvoker

BatchAddDataMaskInvoker 对数据进行脱敏

func (*DscClient) CreateDatabaseWaterMark

CreateDatabaseWaterMark 嵌入数据水印

对json体中数据动态添加水印

详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.

func (*DscClient) CreateDatabaseWaterMarkInvoker added in v0.0.90

func (c *DscClient) CreateDatabaseWaterMarkInvoker(request *model.CreateDatabaseWaterMarkRequest) *CreateDatabaseWaterMarkInvoker

CreateDatabaseWaterMarkInvoker 嵌入数据水印

func (*DscClient) CreateDocWatermark

func (c *DscClient) CreateDocWatermark(request *model.CreateDocWatermarkRequest) (*model.CreateDocWatermarkResponse, error)

CreateDocWatermark 文档嵌入水印

对WORD(.docx),PPT(.pptx),EXCEL(.xlsx),PDF(.pdf) 类型的文件嵌入文字暗水印、文字明水印或者图片明水印,用户以formData的格式传入待加水印的文件和水印相关信息,DSC服务给文件加完水印后返回给用户已嵌入水印的文件的二进制流。

详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.

func (*DscClient) CreateDocWatermarkByAddress added in v0.0.83

CreateDocWatermarkByAddress 文档嵌入水印(文件地址版本)

对WORD(.docx),PPT(.pptx),EXCEL(.xlsx),PDF(.pdf)*类型的文档嵌入文字暗水印、文字明水印或者图片明水印,用户传入待加水印的文档地址(目前支持OBS)和水印相关信息,DSC服务对文档加完水印后返回给用户已嵌入水印的文档的存放地址。

详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.

func (*DscClient) CreateDocWatermarkByAddressInvoker added in v0.0.90

func (c *DscClient) CreateDocWatermarkByAddressInvoker(request *model.CreateDocWatermarkByAddressRequest) *CreateDocWatermarkByAddressInvoker

CreateDocWatermarkByAddressInvoker 文档嵌入水印(文件地址版本)

func (*DscClient) CreateDocWatermarkInvoker added in v0.0.90

func (c *DscClient) CreateDocWatermarkInvoker(request *model.CreateDocWatermarkRequest) *CreateDocWatermarkInvoker

CreateDocWatermarkInvoker 文档嵌入水印

func (*DscClient) CreateImageWatermark

CreateImageWatermark 图片嵌入暗水印

对图片嵌入文字暗水印或者图片暗水印,用户以formData的格式传入待加水印图片和水印相关信息,DSC服务对图片加完水印后返回给用户已嵌入水印的图片二进制流,目前支持的图片格式为:*.jpg, *.jpeg, *.jpe, *.png, *.bmp, *.dib, *.rle, *.tiff, *.tif, *.ppm, *.webp, *.tga, *.tpic, *.gif。

详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.

func (*DscClient) CreateImageWatermarkByAddress added in v0.0.83

CreateImageWatermarkByAddress 图片嵌入暗水印(文件地址版本)

对指定存储地址信息(目前支持华为云OBS)的图片嵌入文字暗水印或者图片暗水印,已嵌入的水印的图片将存放在用户指定的位置(目前支持华为云OBS),支持的图片格式为:*.jpg, *.jpeg, *.jpe, *.png, *.bmp, *.dib, *.rle, *.tiff, *.tif, *.ppm, *.webp, *.tga, *.tpic, *.gif。

详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.

func (*DscClient) CreateImageWatermarkByAddressInvoker added in v0.0.90

func (c *DscClient) CreateImageWatermarkByAddressInvoker(request *model.CreateImageWatermarkByAddressRequest) *CreateImageWatermarkByAddressInvoker

CreateImageWatermarkByAddressInvoker 图片嵌入暗水印(文件地址版本)

func (*DscClient) CreateImageWatermarkInvoker added in v0.0.90

func (c *DscClient) CreateImageWatermarkInvoker(request *model.CreateImageWatermarkRequest) *CreateImageWatermarkInvoker

CreateImageWatermarkInvoker 图片嵌入暗水印

func (*DscClient) ShowDatabaseWaterMark

ShowDatabaseWaterMark 提取数据水印

提取请求数据中水印内容

详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.

func (*DscClient) ShowDatabaseWaterMarkInvoker added in v0.0.90

func (c *DscClient) ShowDatabaseWaterMarkInvoker(request *model.ShowDatabaseWaterMarkRequest) *ShowDatabaseWaterMarkInvoker

ShowDatabaseWaterMarkInvoker 提取数据水印

func (*DscClient) ShowDocWatermark

func (c *DscClient) ShowDocWatermark(request *model.ShowDocWatermarkRequest) (*model.ShowDocWatermarkResponse, error)

ShowDocWatermark 文档提取暗水印

对已嵌入文字暗水印的WORD(.docx),PPT(.pptx),EXCEL(.xlsx),PDF(.pdf)类型的文档进行文字暗水印提取,用户以formData的格式传入待提取水印的文件,DSC服务以JSON的格式返回从文档里提取的出的文字暗水印内容。

详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.

func (*DscClient) ShowDocWatermarkByAddress added in v0.0.83

ShowDocWatermarkByAddress 文档提取暗水印(文档地址版本)

支持对已嵌入文字暗水印的WORD(.docx),PPT(.pptx),EXCEL(.xlsx),PDF(.pdf)类型的文档进行水印提取,用户传入待提取水印的文档地址(目前支持OBS),DSC服务以JSON的格式返回从文档里提取的出的文字暗水印内容。

详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.

func (*DscClient) ShowDocWatermarkByAddressInvoker added in v0.0.90

func (c *DscClient) ShowDocWatermarkByAddressInvoker(request *model.ShowDocWatermarkByAddressRequest) *ShowDocWatermarkByAddressInvoker

ShowDocWatermarkByAddressInvoker 文档提取暗水印(文档地址版本)

func (*DscClient) ShowDocWatermarkInvoker added in v0.0.90

func (c *DscClient) ShowDocWatermarkInvoker(request *model.ShowDocWatermarkRequest) *ShowDocWatermarkInvoker

ShowDocWatermarkInvoker 文档提取暗水印

func (*DscClient) ShowImageWatermark

func (c *DscClient) ShowImageWatermark(request *model.ShowImageWatermarkRequest) (*model.ShowImageWatermarkResponse, error)

ShowImageWatermark 提取图片中的文字暗水印

对已嵌入文字暗水印的图片进行水印提取,用户以formData的格式传入待提取水印的图片,DSC服务以JSON的格式返回从图片里提取的出的文字暗水印。目前支持的图片格式为:*.jpg, *.jpeg, *.jpe, *.png, *.bmp, *.dib, *.rle, *.tiff, *.tif, *.ppm, *.webp, *.tga, *.tpic, *.gif。

详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.

func (*DscClient) ShowImageWatermarkByAddress added in v0.0.83

ShowImageWatermarkByAddress 提取图片中的文字暗水印(文件地址版本)

对指定存储地址信息(目前支持华为云OBS)的已嵌入文字暗水印的图片提取文字暗水印,支持的图片格式为:*.jpg, *.jpeg, *.jpe, *.png, *.bmp, *.dib, *.rle, *.tiff, *.tif, *.ppm, *.webp, *.tga, *.tpic, *.gif。

详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.

func (*DscClient) ShowImageWatermarkByAddressInvoker added in v0.0.90

func (c *DscClient) ShowImageWatermarkByAddressInvoker(request *model.ShowImageWatermarkByAddressRequest) *ShowImageWatermarkByAddressInvoker

ShowImageWatermarkByAddressInvoker 提取图片中的文字暗水印(文件地址版本)

func (*DscClient) ShowImageWatermarkInvoker added in v0.0.90

func (c *DscClient) ShowImageWatermarkInvoker(request *model.ShowImageWatermarkRequest) *ShowImageWatermarkInvoker

ShowImageWatermarkInvoker 提取图片中的文字暗水印

func (*DscClient) ShowImageWatermarkWithImage added in v0.0.83

ShowImageWatermarkWithImage 提取图片中的图片暗水印

对已嵌入图片暗水印的图片进行水印提取,用户以formData的格式传入待提取水印的图片,DSC服务以图片二进制流的格式返回从图片里提取的出的图片暗水印。目前支持的图片格式为:*.jpg, *.jpeg, *.jpe, *.png, *.bmp, *.dib, *.rle, *.tiff, *.tif, *.ppm, *.webp, *.tga, *.tpic, *.gif。

详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.

func (*DscClient) ShowImageWatermarkWithImageByAddress added in v0.0.83

ShowImageWatermarkWithImageByAddress 提取图片中的图片暗水印(文件地址版本)

对指定存储地址信息(目前支持华为云OBS)的已嵌入图片暗水印的图片提取图片暗水印,提取出的水印图片将存放在用户指定的位置(目前支持华为云OBS),支持的图片格式为:*.jpg, *.jpeg, *.jpe, *.png, *.bmp, *.dib, *.rle, *.tiff, *.tif, *.ppm, *.webp, *.tga, *.tpic, *.gif。

详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.

func (*DscClient) ShowImageWatermarkWithImageByAddressInvoker added in v0.0.90

func (c *DscClient) ShowImageWatermarkWithImageByAddressInvoker(request *model.ShowImageWatermarkWithImageByAddressRequest) *ShowImageWatermarkWithImageByAddressInvoker

ShowImageWatermarkWithImageByAddressInvoker 提取图片中的图片暗水印(文件地址版本)

func (*DscClient) ShowImageWatermarkWithImageInvoker added in v0.0.90

func (c *DscClient) ShowImageWatermarkWithImageInvoker(request *model.ShowImageWatermarkWithImageRequest) *ShowImageWatermarkWithImageInvoker

ShowImageWatermarkWithImageInvoker 提取图片中的图片暗水印

func (*DscClient) ShowOpenApiCalledRecords added in v0.0.71

ShowOpenApiCalledRecords 查询OpenApi调用记录

查询OpenApi调用记录

详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.

func (*DscClient) ShowOpenApiCalledRecordsInvoker added in v0.0.90

func (c *DscClient) ShowOpenApiCalledRecordsInvoker(request *model.ShowOpenApiCalledRecordsRequest) *ShowOpenApiCalledRecordsInvoker

ShowOpenApiCalledRecordsInvoker 查询OpenApi调用记录

func (*DscClient) ShowScanJobResults added in v0.0.68

func (c *DscClient) ShowScanJobResults(request *model.ShowScanJobResultsRequest) (*model.ShowScanJobResultsResponse, error)

ShowScanJobResults 查询指定任务扫描结果

查询指定任务扫描结果

详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.

func (*DscClient) ShowScanJobResultsInvoker added in v0.0.90

func (c *DscClient) ShowScanJobResultsInvoker(request *model.ShowScanJobResultsRequest) *ShowScanJobResultsInvoker

ShowScanJobResultsInvoker 查询指定任务扫描结果

func (*DscClient) ShowScanJobs added in v0.0.68

func (c *DscClient) ShowScanJobs(request *model.ShowScanJobsRequest) (*model.ShowScanJobsResponse, error)

ShowScanJobs 查询扫描任务列表

查询扫描任务列表

详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.

func (*DscClient) ShowScanJobsInvoker added in v0.0.90

func (c *DscClient) ShowScanJobsInvoker(request *model.ShowScanJobsRequest) *ShowScanJobsInvoker

ShowScanJobsInvoker 查询扫描任务列表

type ShowDatabaseWaterMarkInvoker added in v0.0.90

type ShowDatabaseWaterMarkInvoker struct {
	*invoker.BaseInvoker
}

func (*ShowDatabaseWaterMarkInvoker) Invoke added in v0.0.90

type ShowDocWatermarkByAddressInvoker added in v0.0.90

type ShowDocWatermarkByAddressInvoker struct {
	*invoker.BaseInvoker
}

func (*ShowDocWatermarkByAddressInvoker) Invoke added in v0.0.90

type ShowDocWatermarkInvoker added in v0.0.90

type ShowDocWatermarkInvoker struct {
	*invoker.BaseInvoker
}

func (*ShowDocWatermarkInvoker) Invoke added in v0.0.90

type ShowImageWatermarkByAddressInvoker added in v0.0.90

type ShowImageWatermarkByAddressInvoker struct {
	*invoker.BaseInvoker
}

func (*ShowImageWatermarkByAddressInvoker) Invoke added in v0.0.90

type ShowImageWatermarkInvoker added in v0.0.90

type ShowImageWatermarkInvoker struct {
	*invoker.BaseInvoker
}

func (*ShowImageWatermarkInvoker) Invoke added in v0.0.90

type ShowImageWatermarkWithImageByAddressInvoker added in v0.0.90

type ShowImageWatermarkWithImageByAddressInvoker struct {
	*invoker.BaseInvoker
}

func (*ShowImageWatermarkWithImageByAddressInvoker) Invoke added in v0.0.90

type ShowImageWatermarkWithImageInvoker added in v0.0.90

type ShowImageWatermarkWithImageInvoker struct {
	*invoker.BaseInvoker
}

func (*ShowImageWatermarkWithImageInvoker) Invoke added in v0.0.90

type ShowOpenApiCalledRecordsInvoker added in v0.0.90

type ShowOpenApiCalledRecordsInvoker struct {
	*invoker.BaseInvoker
}

func (*ShowOpenApiCalledRecordsInvoker) Invoke added in v0.0.90

type ShowScanJobResultsInvoker added in v0.0.90

type ShowScanJobResultsInvoker struct {
	*invoker.BaseInvoker
}

func (*ShowScanJobResultsInvoker) Invoke added in v0.0.90

type ShowScanJobsInvoker added in v0.0.90

type ShowScanJobsInvoker struct {
	*invoker.BaseInvoker
}

func (*ShowScanJobsInvoker) Invoke added in v0.0.90

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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