Categorygithub.com/lcr2000/netease-detect
modulepackage
1.0.6
Repository: https://github.com/lcr2000/netease-detect.git
Documentation: pkg.go.dev

# README

netease-detect

网易易盾检测 Golang 版本 SDK

单元测试

鉴于安全原因, 不便暴露 secretID/secretKey/businessID(如果有) 等信息. 所以在测试命令后提供了如下参数.

go test -v -args -secretID xxx -secretKey xxx -businessID xxx

快速开始

import (
   "fmt"
   netease_detect "github.com/lcr2000/netease-detect"
   "github.com/lcr2000/netease-detect/model"
)

func main() {
   client := netease_detect.NewClient("your secretID", "your secretKey", "your businessID. If there is")
   rsp, err := client.ImageDetect(&model.ImageDetectReq{
   	Images: []*model.ImageInfo{{
   		Name:      "123456789",
   		ImageType: 1,
   		Data:      "https://img2.baidu.com/it/u=564570846,288904720&fm=253&fmt=auto&app=138&f=PNG?w=889&h=500",
   	}},
   })
   if err != nil {
   	fmt.Println(err)
   	return
   }
   fmt.Println(rsp)
}

# Packages

No description provided by the author

# Functions

GenSignature 生成签名信息.
NewClient 初始化网易易盾客户端实例,一般在程序启动的时候调用进行初始化 secretID、secretKey是必填的,传入空值将panic; businessID为可选值.

# Constants

各个接口版本号.
各个接口版本号.
各个接口版本号.
各个接口版本号.
点播音频异步检测结果.
点播音频异步检测接口.
点播音频同步检测.
CallSuccessCode 接口调用成功状态码.
No description provided by the author
No description provided by the author
图片在线检测.
音频检测反馈接口.
获取直播音频检测结果.
直播音频停止检测.
直播音频检测提交.
获取直播音视频检测结果.
直播音视频停止检测.
直播音视频检测提交.
StopDetectStatus 停止检测.
点播视频检测结果.
点播视频信息提交接口.

# Structs

Client 实例.