pipe

package
v0.8.2 Latest Latest
Warning

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

Go to latest
Published: Mar 31, 2026 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 Branch

type Branch = *atomic.Value

type Buffer

type Buffer = *deque.Deque[any]

type Error

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

func NewError

func NewError(err error) Error

func (Error) Error

func (e Error) Error() string

func (Error) Main

func (e Error) Main() gox.Elem

func (Error) Payload

func (e Error) Payload() action.Payload

func (Error) Release

func (e Error) Release()

type Payload

type Payload interface {
	Payload() action.Payload
	Release()
}

func EmptyPayload

func EmptyPayload() Payload

type Pipe

type Pipe = *pipe

func NewPipe

func NewPipe(
	ctx context.Context,
	runtime shredder.Runtime,
	renderFrame shredder.Frame,
	finalFrame *shredder.ValveFrame,
) Pipe

func (Pipe) Branch

func (p Pipe) Branch() Branch

func (Pipe) Context

func (p Pipe) Context() context.Context

func (Pipe) FinalFrame

func (p Pipe) FinalFrame() *shredder.ValveFrame

func (Pipe) IsEmpty

func (p Pipe) IsEmpty() bool

func (Pipe) RenderContent

func (p Pipe) RenderContent(content any)

func (Pipe) RenderFrame

func (p Pipe) RenderFrame() shredder.Frame

func (Pipe) RenderProxy

func (p Pipe) RenderProxy(el gox.Elem) (ProxyContainer, bool)

func (Pipe) Runtime

func (p Pipe) Runtime() shredder.Runtime

type ProxyContainer

type ProxyContainer struct {
	Tag   string
	Attrs gox.Attrs
}

func (ProxyContainer) Apply

func (p ProxyContainer) Apply(pipe Pipe, containerCtx context.Context, doorID uint64, parentID uint64)

type Renderable

type Renderable interface {
	Render(p *pipe)
}

type Stack

type Stack interface {
	Print(pr gox.Printer) error
}

Jump to

Keyboard shortcuts

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