Documentation ¶
Index ¶
- type CensorClient
- func (c *CensorClient) AsyncAudioScan(request *censor.AsyncAudioScanRequest) (*censor.AsyncAudioScanResponse, error)
- func (c *CensorClient) AsyncImageScan(request *censor.AsyncImageScanRequest) (*censor.AsyncImageScanResponse, error)
- func (c *CensorClient) AsyncVideoScan(request *censor.AsyncVideoScanRequest) (*censor.AsyncVideoScanResponse, error)
- func (c *CensorClient) AudioResults(request *censor.AudioResultsRequest) (*censor.AudioResultsResponse, error)
- func (c *CensorClient) DeleteCensorLib(request *censor.DeleteCensorLibRequest) (*censor.DeleteCensorLibResponse, error)
- func (c *CensorClient) DeleteCensorLibItems(request *censor.DeleteCensorLibItemsRequest) (*censor.DeleteCensorLibItemsResponse, error)
- func (c *CensorClient) DeleteLimit(request *censor.DeleteLimitRequest) (*censor.DeleteLimitResponse, error)
- func (c *CensorClient) DisableLogger()
- func (c *CensorClient) ImageResults(request *censor.ImageResultsRequest) (*censor.ImageResultsResponse, error)
- func (c *CensorClient) ImageScan(request *censor.ImageScanRequest) (*censor.ImageScanResponse, error)
- func (c *CensorClient) InnerTextScan(request *censor.InnerTextScanRequest) (*censor.InnerTextScanResponse, error)
- func (c *CensorClient) SetConfig(config *core.Config)
- func (c *CensorClient) SetLogger(logger core.Logger)
- func (c *CensorClient) TextScan(request *censor.TextScanRequest) (*censor.TextScanResponse, error)
- func (c *CensorClient) VideoResults(request *censor.VideoResultsRequest) (*censor.VideoResultsResponse, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CensorClient ¶
type CensorClient struct {
core.JDCloudClient
}
func NewCensorClient ¶
func NewCensorClient(credential *core.Credential) *CensorClient
func (*CensorClient) AsyncAudioScan ¶ added in v1.45.0
func (c *CensorClient) AsyncAudioScan(request *censor.AsyncAudioScanRequest) (*censor.AsyncAudioScanResponse, error)
提交音频异步检测任务
func (*CensorClient) AsyncImageScan ¶
func (c *CensorClient) AsyncImageScan(request *censor.AsyncImageScanRequest) (*censor.AsyncImageScanResponse, error)
提交图片异步检测任务
func (*CensorClient) AsyncVideoScan ¶ added in v1.45.0
func (c *CensorClient) AsyncVideoScan(request *censor.AsyncVideoScanRequest) (*censor.AsyncVideoScanResponse, error)
提交视频异步检测任务
func (*CensorClient) AudioResults ¶ added in v1.45.0
func (c *CensorClient) AudioResults(request *censor.AudioResultsRequest) (*censor.AudioResultsResponse, error)
查看音频异步检测结果
func (*CensorClient) DeleteCensorLib ¶ added in v1.45.0
func (c *CensorClient) DeleteCensorLib(request *censor.DeleteCensorLibRequest) (*censor.DeleteCensorLibResponse, error)
删除敏感库
func (*CensorClient) DeleteCensorLibItems ¶ added in v1.45.0
func (c *CensorClient) DeleteCensorLibItems(request *censor.DeleteCensorLibItemsRequest) (*censor.DeleteCensorLibItemsResponse, error)
删除敏感库Item
func (*CensorClient) DeleteLimit ¶ added in v1.45.0
func (c *CensorClient) DeleteLimit(request *censor.DeleteLimitRequest) (*censor.DeleteLimitResponse, error)
删除限制参数配置
func (*CensorClient) DisableLogger ¶
func (c *CensorClient) DisableLogger()
func (*CensorClient) ImageResults ¶
func (c *CensorClient) ImageResults(request *censor.ImageResultsRequest) (*censor.ImageResultsResponse, error)
查看图片异步检测结果
func (*CensorClient) ImageScan ¶
func (c *CensorClient) ImageScan(request *censor.ImageScanRequest) (*censor.ImageScanResponse, error)
图片同步检测
func (*CensorClient) InnerTextScan ¶ added in v1.45.0
func (c *CensorClient) InnerTextScan(request *censor.InnerTextScanRequest) (*censor.InnerTextScanResponse, error)
文本同步检测-检测文本中是否包含违规信息
func (*CensorClient) SetConfig ¶
func (c *CensorClient) SetConfig(config *core.Config)
func (*CensorClient) SetLogger ¶
func (c *CensorClient) SetLogger(logger core.Logger)
func (*CensorClient) TextScan ¶
func (c *CensorClient) TextScan(request *censor.TextScanRequest) (*censor.TextScanResponse, error)
文本同步检测-检测文本中是否包含违规信息
func (*CensorClient) VideoResults ¶ added in v1.45.0
func (c *CensorClient) VideoResults(request *censor.VideoResultsRequest) (*censor.VideoResultsResponse, error)
查看视频异步检测结果
Click to show internal directories.
Click to hide internal directories.