Documentation ¶
Index ¶
Constants ¶
Variables ¶
View Source
var (
Routines []Routiner = make([]Routiner, 0)
)
Functions ¶
Types ¶
type Routine ¶
type Routine struct { CurrentFunc int Status Command Funcs []RoutineFunc }
func New ¶
func New(funcs ...RoutineFunc) *Routine
func Start ¶
func Start(funcs ...RoutineFunc) *Routine
type RoutineFunc ¶
type RoutineFunc func() Command
func Sequence ¶
func Sequence(funcs ...RoutineFunc) RoutineFunc
func Sleep ¶
func Sleep(secs float32) RoutineFunc
func SleepRand ¶
func SleepRand(secs float32) RoutineFunc
func WaitContinue ¶
func WaitContinue(fnc RoutineFunc, child Routiner, secTimeout float32) RoutineFunc
Click to show internal directories.
Click to hide internal directories.