node

package
v1.0.1-0...-38b0c9f Latest Latest
Warning

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

Go to latest
Published: Dec 1, 2024 License: MPL-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Filter

type Filter struct {
	*Node
}

func (Filter) Filter

func (f Filter) Filter(media []media.Media) ([]bool, error)

type Node

type Node struct {
	Capabilities map[string]struct{}
	// contains filtered or unexported fields
}

func InitializeNode

func InitializeNode(name string, cmds []*exec.Cmd) (*Node, error)

func (*Node) Request

func (n *Node) Request(request protocol.Request, value any) error

type Sink

type Sink struct {
	*Node
}

func (Sink) Sink

func (s Sink) Sink(media []media.Media) error

type Source

type Source struct {
	*Node
}

func (Source) Generate

func (s Source) Generate(state int) ([]media.Media, bool, error)

type Transform

type Transform struct {
	*Node
}

func (Transform) Transform

func (t Transform) Transform(media []media.Media) ([]media.Media, error)

Jump to

Keyboard shortcuts

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