KF2-AntiDDoS/internal/common/common.go
2021-08-01 00:03:25 +03:00

19 lines
221 B
Go

package common
type Worker interface {
Do()
Stop()
}
type RawEvent struct {
LineNum byte
Text string
}
type Event struct {
LineNum byte
ConnectIP string
PlayerStartIP string
PlayerEndIP string
}