stream

package
v3.0.0-...-32242cf Latest Latest
Warning

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

Go to latest
Published: Nov 8, 2026 License: BSD-3-Clause Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Source

type Source struct {
	// contains filtered or unexported fields
}

func New

func New(cfg config.SourceConfig) (*Source, error)

func (*Source) Close

func (s *Source) Close() error

func (*Source) InitEvents

func (s *Source) InitEvents() ([]*event.Event, error)

func (*Source) Start

func (s *Source) Start(ctx context.Context, emit func(*event.Event) error) error

Jump to

Keyboard shortcuts

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