pipeline

package
v0.0.0-...-04961f1 Latest Latest
Warning

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

Go to latest
Published: Aug 9, 2024 License: GPL-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 Config

type Config struct {
	MaxSize  int
	Interval time.Duration
	Buffer   int
	Worker   int
}

type Pipeline

type Pipeline struct {
	Do       func(ctx context.Context, values map[string][]interface{})
	Sharding func(key string) int
	// contains filtered or unexported fields
}

func New

func New(conf *Config) *Pipeline

Jump to

Keyboard shortcuts

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