selector

package
v0.0.0-...-fa578fc Latest Latest
Warning

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

Go to latest
Published: Jun 23, 2025 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrSelectorNotDetected = errors.New("selector not detected")
	ErrNotAvailable        = errors.New("not available")
)

Functions

This section is empty.

Types

type Next

type Next func() string

type Selector

type Selector interface {
	Select([]string) (Next, error)
}

func New

func New(t Type) (selector Selector, err error)

type Type

type Type int
const (
	Random Type = iota
	RoundRobin
)

Jump to

Keyboard shortcuts

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