cycling

package
v0.0.0-...-c936f35 Latest Latest
Warning

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

Go to latest
Published: Apr 18, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Overview

Package cycling provides a group that continuously cycles between all modules at a fixed interval.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Controller

type Controller interface {
	SetInterval(time.Duration)
}

Controller provides an interface to control a collapsing group.

func Group

func Group(interval time.Duration, m ...bar.Module) (bar.Module, Controller)

Group returns a new cycling group with the given interval, and a linked Controller.

Jump to

Keyboard shortcuts

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