Documentation ¶
Index ¶
Constants ¶
View Source
const ( DefaultBufferWindowSize int = 1 DefaultDelaySendTimeMs int = 10 )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Conf ¶
type Conf struct { BufferName string BufferSendChannel map[string]*SendChannel BufferWindowSize int DelaySendTime int }
type DemoBuffer ¶
type DemoBuffer struct {
Name string
}
type InputBufferItem ¶
type SendChannel ¶
type SendData ¶
type SendData struct { BufferName string MapDataCh map[string]chan []byte BufferData [][]byte BufferIndex int64 BufferWindowSize int ISendObj IBuffer IsFlushCh chan bool DelaySendTime int OpLock sync.Mutex BufferDayCounter uint64 }
func (*SendData) AddBufferItem ¶
func (sd *SendData) AddBufferItem(item *InputBufferItem) (err error)
func (*SendData) BufferSend ¶
func (*SendData) InitAsyncSub ¶
Click to show internal directories.
Click to hide internal directories.