first version
This commit is contained in:
18
internal/common/common.go
Normal file
18
internal/common/common.go
Normal file
@ -0,0 +1,18 @@
|
||||
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
|
||||
}
|
Reference in New Issue
Block a user