mirror of
https://github.com/CPunch/gopenfusion.git
synced 2024-11-14 12:00:05 +00:00
16 lines
181 B
Go
16 lines
181 B
Go
|
package protocol
|
||
|
|
||
|
import "bytes"
|
||
|
|
||
|
const (
|
||
|
EVENT_CLIENT_DISCONNECT = iota
|
||
|
EVENT_CLIENT_PACKET
|
||
|
)
|
||
|
|
||
|
type Event struct {
|
||
|
Type int
|
||
|
Peer *CNPeer
|
||
|
Pkt *bytes.Buffer
|
||
|
PktID uint32
|
||
|
}
|