buffer

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Mar 26, 2025 License: AGPL-3.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BufferManager

type BufferManager interface {
	AddData(data Data)
	GetNextData() (Data, bool)
	Close()
}

func New

func New(opts ...Option) BufferManager

type Data

type Data interface {
}

type Option

type Option func(*Options)

func WithMaxBufferSize

func WithMaxBufferSize(size int) Option

type Options

type Options struct {
	MaxBufferSize int
}

Jump to

Keyboard shortcuts

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