Skip to content

gotidy/batch

Repository files navigation

Batch

Go Reference Go Report Card

Batcher collect a data and flush it if the batch is full or the interval is elapsed.

Installation

go get github.com/gotidy/batch

Examples

batch := New(flusher)
batch.Put("some data")

Documentation

Go Reference

License

Apache 2.0