mirror of
https://github.com/codecat/go-enet.git
synced 2025-12-08 05:59:47 +00:00
added CompressWithRangeCoder to Host interface
This commit is contained in:
parent
1d386125cb
commit
597244d7f6
1 changed files with 2 additions and 0 deletions
2
host.go
2
host.go
|
|
@ -12,6 +12,8 @@ type Host interface {
|
||||||
Service(timeout uint32) Event
|
Service(timeout uint32) Event
|
||||||
|
|
||||||
Connect(addr Address, channelCount int, data uint32) (Peer, error)
|
Connect(addr Address, channelCount int, data uint32) (Peer, error)
|
||||||
|
|
||||||
|
CompressWithRangeCoder() error
|
||||||
}
|
}
|
||||||
|
|
||||||
type enetHost struct {
|
type enetHost struct {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue