v1

package
v0.0.64 Latest Latest
Warning

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

Go to latest
Published: Sep 29, 2021 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 GenReqDefForCreateImageWatermark

func GenReqDefForCreateImageWatermark() *def.HttpRequestDef

func GenReqDefForShowDatabaseWaterMark

func GenReqDefForShowDatabaseWaterMark() *def.HttpRequestDef

func GenReqDefForShowDocWatermark

func GenReqDefForShowDocWatermark() *def.HttpRequestDef

func GenReqDefForShowImageWatermark

func GenReqDefForShowImageWatermark() *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)

嵌入文档水印

func (*DscClient) CreateImageWatermark

给上传的图片添加暗水印,目前支持的图片格式为:*.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)

提取文档水印

func (*DscClient) ShowImageWatermark

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

提取图片中的暗水印内容

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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