# Functions
No description provided by the author
No description provided by the author
NewClientConn creates a new bidirectional Go-Back-N client.
NewIntervalAwareForceTicker returns a IntervalAwareForceTicker ticker, used for testing and debugging.
NewServerConn creates a new bidirectional Go-Back-N server.
NewTimeoutBooster creates a new timeout booster.
NewTimeOutManager creates a new timeout manager.
UseLogger uses a specified Logger to output package logging info.
WithBoostPercent is used to set the boost percent that the timeout manager will use to boost the resend timeout & handshake timeout every time a resend is required due to not receiving a response within the current timeout.
WithHandshakeTimeout is used to set the timeout used during the handshake.
WithKeepalivePing is used to send a ping packet if no packets have been received from the other side for the given duration.
WithMaxSendSize is used to set the maximum payload size in bytes per packet.
WithOnFIN is used to set the onFIN callback that will be called once a FIN packet has been received and processed.
WithResendMultiplier is used to set the resend multiplier.
WithStaticResendTimeout is used to set a static resend timeout.
WithTimeoutOptions is used to set the different timeout options that will be used within gbn package.
WithTimeoutUpdateFrequency is used to set the frequency of how many corresponding responses we need to receive until updating the resend timeout.
# Constants
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Structs
No description provided by the author
No description provided by the author
IntervalAwareForceTicker implements the Ticker interface, and provides a method of force-feeding ticks, even while paused.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
TimeoutBooster is used to boost a timeout by a given percentage value.
TimeoutManager manages the different timeouts used by the gbn package.
# Interfaces
No description provided by the author
# Type aliases
No description provided by the author
TimeoutOptions can be used to modify the default timeout values used within the TimeoutManager.