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.

        Source Files