package
0.0.1
Repository: https://github.com/asticode/interceptor.git
Documentation: pkg.go.dev

# Functions

DisableCopy bypasses copy of underlying packets.
GeneratorInterval sets the nack send interval for the interceptor.
GeneratorLog sets a logger for the interceptor.
GeneratorSize sets the size of the interceptor.
GeneratorSkipLastN sets the number of packets (n-1 packets before the last received packets) to ignore when generating nack requests.
NewGeneratorInterceptor returns a new GeneratorInterceptorFactory.
NewResponderInterceptor returns a new ResponderInterceptorFactor.
ResponderLog sets a logger for the interceptor.
ResponderSize sets the size of the interceptor.

# Variables

ErrInvalidSize is returned by newReceiveLog/newSendBuffer, when an incorrect buffer size is supplied.

# Structs

GeneratorInterceptor interceptor generates nack feedback messages.
GeneratorInterceptorFactory is a interceptor.Factory for a GeneratorInterceptor.
ResponderInterceptor responds to nack feedback messages.
ResponderInterceptorFactory is a interceptor.Factory for a ResponderInterceptor.

# Type aliases

GeneratorOption can be used to configure GeneratorInterceptor.
ResponderOption can be used to configure ResponderInterceptor.