v1

package
v0.0.84 Latest Latest
Warning

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

Go to latest
Published: Apr 14, 2022 License: Apache-2.0, BSD-2-Clause, BSD-3-Clause Imports: 4 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 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)

对数据进行脱敏

func (*DscClient) CreateDatabaseWaterMark

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

func (*DscClient) CreateDocWatermark

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

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

func (*DscClient) CreateDocWatermarkByAddress added in v0.0.83

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

func (*DscClient) CreateImageWatermark

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

func (*DscClient) CreateImageWatermarkByAddress added in v0.0.83

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

func (*DscClient) ShowDatabaseWaterMark

提取请求数据中水印内容

func (*DscClient) ShowDocWatermark

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

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

func (*DscClient) ShowDocWatermarkByAddress added in v0.0.83

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

func (*DscClient) ShowImageWatermark

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

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

func (*DscClient) ShowImageWatermarkByAddress added in v0.0.83

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

func (*DscClient) ShowImageWatermarkWithImage added in v0.0.83

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

func (*DscClient) ShowImageWatermarkWithImageByAddress added in v0.0.83

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

func (*DscClient) ShowOpenApiCalledRecords added in v0.0.71

查询OpenApi调用记录

func (*DscClient) ShowScanJobResults added in v0.0.68

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

查询指定任务扫描结果

func (*DscClient) ShowScanJobs added in v0.0.68

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

查询扫描任务列表

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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