shijiaoliang/go-sensitive

高性能Go敏感词服务

Go
This is stars and forks stats for /shijiaoliang/go-sensitive repository. As of 10 May, 2024 this repository has 109 stars and 17 forks.

敏感词服务 运行 git clone https://github.com/shijiaoliang/go-sensitive.git cd path/go-sensitive go mod tidy cd path/go-sensitive/api go run sensitive.go -f etc/sensitive-api.yaml API 1. "验证是否包含敏感词" 路由定义 Url: /sensitive/validate Method: POST Request: ValidateReq Response: ValidateReply 请求定义 type ValidateReq struct { Txt string `json:"txt"` Hash string `json:"hash,optional"` } 返回定义 type ValidateReply struct { IsValidate bool `json:"is_validate"` BadWord string `json:"bad_word"` } 2. "查找所有敏感词" 路由定义 Url:...
Read on GithubGithub Stats Page
repotechsstarsweeklyforksweekly
slack-go/slackGoMakefile4.4k01.1k0
opencontainers/runcGoShellC10.8k02k0
elliotchance/pieGo1.7k0890
brianvoe/slim-selectVueTypeScriptSCSS92401830
youshandefeiyang/IPTVGoPHPDockerfile3.3k06690
kubeshark/kubesharkGoMakefileSmarty9.6k03880
maaslalani/napGo1.4k0380
kiteco/kiteco-publicGoHTMLPython67201650
docker/cliGoShellOther4.3k01.8k0
cubxxw/cs-awesome-Block_ChainHTMLSolidityGo89001160