Documentation ¶
Index ¶
- func DscClientBuilder() *http_client.HcHttpClientBuilder
- func GenReqDefForBatchAddDataMask() *def.HttpRequestDef
- func GenReqDefForCreateDatabaseWaterMark() *def.HttpRequestDef
- func GenReqDefForCreateDocWatermark() *def.HttpRequestDef
- func GenReqDefForCreateImageWatermark() *def.HttpRequestDef
- func GenReqDefForShowDatabaseWaterMark() *def.HttpRequestDef
- func GenReqDefForShowDocWatermark() *def.HttpRequestDef
- func GenReqDefForShowImageWatermark() *def.HttpRequestDef
- type DscClient
- func (c *DscClient) BatchAddDataMask(request *model.BatchAddDataMaskRequest) (*model.BatchAddDataMaskResponse, error)
- func (c *DscClient) CreateDatabaseWaterMark(request *model.CreateDatabaseWaterMarkRequest) (*model.CreateDatabaseWaterMarkResponse, error)
- func (c *DscClient) CreateDocWatermark(request *model.CreateDocWatermarkRequest) (*model.CreateDocWatermarkResponse, error)
- func (c *DscClient) CreateImageWatermark(request *model.CreateImageWatermarkRequest) (*model.CreateImageWatermarkResponse, error)
- func (c *DscClient) ShowDatabaseWaterMark(request *model.ShowDatabaseWaterMarkRequest) (*model.ShowDatabaseWaterMarkResponse, error)
- func (c *DscClient) ShowDocWatermark(request *model.ShowDocWatermarkRequest) (*model.ShowDocWatermarkResponse, error)
- func (c *DscClient) ShowImageWatermark(request *model.ShowImageWatermarkRequest) (*model.ShowImageWatermarkResponse, error)
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 ¶
func (c *DscClient) CreateDatabaseWaterMark(request *model.CreateDatabaseWaterMarkRequest) (*model.CreateDatabaseWaterMarkResponse, error)
对json体中数据动态添加水印
func (*DscClient) CreateDocWatermark ¶
func (c *DscClient) CreateDocWatermark(request *model.CreateDocWatermarkRequest) (*model.CreateDocWatermarkResponse, error)
嵌入文档水印
func (*DscClient) CreateImageWatermark ¶
func (c *DscClient) CreateImageWatermark(request *model.CreateImageWatermarkRequest) (*model.CreateImageWatermarkResponse, error)
给上传的图片添加暗水印,目前支持的图片格式为:*.jpg, *.jpeg, *.jpe, *.png, *.bmp, *.dib, *.rle, *.tiff, *.tif, *.ppm, *.webp, *.tga, *.tpic, *.gif。
func (*DscClient) ShowDatabaseWaterMark ¶
func (c *DscClient) ShowDatabaseWaterMark(request *model.ShowDatabaseWaterMarkRequest) (*model.ShowDatabaseWaterMarkResponse, error)
提取请求数据中水印内容
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)
提取图片中的暗水印内容
Click to show internal directories.
Click to hide internal directories.