Jake Hillion
ff4ce07b05
All checks were successful
continuous-integration/drone/push Build is passing
18 lines
247 B
Go
18 lines
247 B
Go
package udp
|
|
|
|
import "time"
|
|
|
|
type Congestion interface {
|
|
Sequence() uint32
|
|
ReceivedPacket(seq uint32)
|
|
|
|
ReceivedAck(uint32)
|
|
NextAck() uint32
|
|
|
|
ReceivedNack(uint32)
|
|
NextNack() uint32
|
|
|
|
AwaitEarlyUpdate(keepalive time.Duration) uint32
|
|
Reset()
|
|
}
|