mirror of
https://github.com/CPunch/gopenfusion.git
synced 2024-11-10 02:20: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
|
|
}
|