groups

package
v0.29.0 Latest Latest
Warning

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

Go to latest
Published: Nov 8, 2025 License: AGPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Grouper

type Grouper func(ctx context.Context, in <-chan *assets.Asset, out chan<- *assets.Asset, gOut chan<- *assets.Group)

Grouper is an interface for a type that can group assets.

type GrouperPipeline

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

func NewGrouperPipeline

func NewGrouperPipeline(ctx context.Context, gs ...Grouper) *GrouperPipeline

func (*GrouperPipeline) PipeGrouper

func (p *GrouperPipeline) PipeGrouper(ctx context.Context, in chan *assets.Asset) chan *assets.Group

PipeGrouper groups assets in a pipeline of groupers. Group opens and closes intermediate channels as required.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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