Documentation ¶
Index ¶
Constants ¶
View Source
const ( Hello messageType = iota Ping Payload Acknowledgement WindowReport WindowSizeRequest )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type HelloHandler ¶
type MessageHandler ¶
type MessageHandler interface { HandlePing(sequence int32, replyFor int32, conn *net.UDPConn, addr *net.UDPAddr) HandlePayload(p *xgress.Payload, sequence int32, conn *net.UDPConn, addr *net.UDPAddr) HandleAcknowledgement(a *xgress.Acknowledgement, sequence int32, conn *net.UDPConn, addr *net.UDPAddr) HandleWindowReport(lowWater, highWater, gaps, count int32, conn *net.UDPConn, addr *net.UDPAddr) HandleWindowSizeRequest(newWindowSize int32, conn *net.UDPConn, addr *net.UDPAddr) }
Click to show internal directories.
Click to hide internal directories.