habbgo/models/session.go

12 lines
220 B
Go

package models
type Session interface {
Listen()
Send(packet OutgoingPacket)
Queue(packet OutgoingPacket)
Flush(packet OutgoingPacket)
Address() string
GetPacketHandler(headerID Packet) (Handler, bool)
Close()
}