sources

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Jan 22, 2025 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ConstSource

type ConstSource struct {
	Value         string
	FlushDuration time.Duration
	MaxBatchSize  int
	// contains filtered or unexported fields
}

func NewConstSource

func NewConstSource(value string, flushDuration time.Duration, maxBatchSize int, workerGenerator engine.WorkerCreatorFunc) *ConstSource

TODO more variety of source values

func (*ConstSource) Close

func (s *ConstSource) Close() error

func (*ConstSource) Name

func (s *ConstSource) Name() string

func (*ConstSource) Open

func (s *ConstSource) Open(ctx context.Context) error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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