spark-server/internal/module/moderation/entity/scan.go
2026-09-29 16:37:36 +08:00

22 lines
296 B
Go

package entity
type HitMatch struct {
WordID int64
Category Category
Action Action
Excerpt string
ByteFrom int
ByteTo int
}
type ScanResult struct {
Action Action
MuteSeconds int
Hits []HitMatch
ReplacedBody string
}
type ApplyInput struct {
Hits []HitMatch
}