Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrFull = errors.New("buffer is full") ErrOperationTimeout = errors.New("operation timed-out") )
Functions ¶
This section is empty.
Types ¶
type Buffer ¶ added in v1.1.0
Buffer represents a data buffer that is asynchronously flushed, either manually or automatically.
func (*Buffer) Close ¶ added in v1.1.0
Close flushes the buffer and prevents it from being further used.
type Option ¶ added in v1.1.0
type Option func(*Options)
func WithAutoFlush ¶ added in v1.1.0
func WithCloseTimeout ¶ added in v1.1.0
func WithFlushTimeout ¶ added in v1.1.0
func WithPushTimeout ¶ added in v1.1.0
Click to show internal directories.
Click to hide internal directories.