You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

19 lines
385 B
Go

package radar
// Engine 简易风控引擎
type Engine struct {
opt1 byte
opt2 byte
ratio int32
danmakuChan chan struct{}
userId int64
username string
}
type Option struct {
IntervalCheck bool // 间隔检测开关
Repeat bool // 重复性检测开关
Violence bool // 暴力检测开关
RuleStudy bool // 规则AI学习开关
}