package
1.5.4
Repository: https://github.com/yiuterran/go-common.git
Documentation: pkg.go.dev

# README

无限长的channel

fork from smallnest/chanx

一般服务较难确认缓冲区最大长度,根据负载进行弹性伸缩是比较合理的设计,因此common里面大部分服务都是用这个无限长的队列而不是一般的chan

# Functions

No description provided by the author
NewUnboundedChan creates the unbounded chan.
NewUnboundedChanSize is like NewUnboundedChan, but you can set initial capacity for In, Out, Buffer.

# Variables

No description provided by the author

# Structs

RingBuffer is a ring buffer for common types.
UnboundedChan is an unbounded chan.