bufsink

package
v0.8.8 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 2, 2025 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SizedBuffer

type SizedBuffer struct {
	Buffered []*typesv1.Log
	// contains filtered or unexported fields
}

func NewSizedBufferedSink

func NewSizedBufferedSink(size int, flush sink.BatchSink) *SizedBuffer

func (*SizedBuffer) Close added in v0.8.0

func (sn *SizedBuffer) Close(ctx context.Context) error

func (*SizedBuffer) Receive

func (sn *SizedBuffer) Receive(ctx context.Context, ev *typesv1.Log) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL