transistor

package
v0.0.0-...-1472157 Latest Latest
Warning

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

Go to latest
Published: Dec 4, 2023 License: MIT Imports: 7 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrNotFound = errors.New("entry not found")
)

Functions

This section is empty.

Types

type Component

type Component struct {
	Collector collector.Collector
	Base      base.Base
	Emitter   emitter.Emitter
}

type Transistor

type Transistor interface {
	// Block functions
	Collect(r io.StreamReader) error
	Emit(w io.StreamWriter) error
	Apply(w io.StreamWriter, cg *types.Change) error
	Stop(w io.StreamWriter) error

	Command(ctx context.Context, args []string) (<-chan string, error)
}

A core is a builder and also a CLI engine

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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