Batcher
collect a data and flush it if the batch is full or the interval is elapsed.
go get github.com/gotidy/batch
batch := New(flusher)
batch.Put("some data")
Batcher
collect a data and flush it if the batch is full or the interval is elapsed.
go get github.com/gotidy/batch
batch := New(flusher)
batch.Put("some data")