Documentation ¶
Index ¶
Constants ¶
View Source
const (
DEFAULT_QUEUE_CAP = 1024
)
Variables ¶
View Source
var ( POOL_EMIPTY = errors.New("pool is empty") POOL_FULL = errors.New("pool is full") )
Functions ¶
func New ¶
func New(cap ...int) io.ReadWriter
func NewQueueSize ¶
func NewQueueSize(size int, cap ...int) io.ReadWriter
Types ¶
Click to show internal directories.
Click to hide internal directories.