package
1.6.0
Repository: https://github.com/walkon/gnet.git
Documentation: pkg.go.dev

# Functions

New returns a new RingBuffer whose buffer has the given size.

# Variables

EmptyRingBuffer can be used as a placeholder for those closed connections.
ErrIsEmpty will be returned when trying to read a empty ring-buffer.

# Structs

RingBuffer is a circular buffer that implement io.ReaderWriter interface.