pkg

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Sep 23, 2025 License: GPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type TimeRange

type TimeRange interface {
	Get() time.Duration
}

func NewTimeRange

func NewTimeRange(raw string) (TimeRange, error)

NewTimeRange Fixed time (5 seconds): 5 Time range (5 seconds - 10 seconds): 5-10 Weighted time (5 seconds weight 1, 6 seconds weight 2): 5=1,6=2 Weighted time range (5-10 seconds weight 1, 6-12 seconds weight 2): 5-10=1,6-12=2

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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