committed by
Jakob Borg
parent
f35e1ac0c5
commit
ceea5ebeb3
2
vendor/github.com/xtaci/kcp-go/updater.go
generated
vendored
2
vendor/github.com/xtaci/kcp-go/updater.go
generated
vendored
@@ -13,12 +13,14 @@ func init() {
|
||||
go updater.updateTask()
|
||||
}
|
||||
|
||||
// entry contains a session update info
|
||||
type entry struct {
|
||||
sid uint32
|
||||
ts time.Time
|
||||
s *UDPSession
|
||||
}
|
||||
|
||||
// a global heap managed kcp.flush() caller
|
||||
type updateHeap struct {
|
||||
entries []entry
|
||||
indices map[uint32]int
|
||||
|
||||
Reference in New Issue
Block a user