coretest

package
v0.1.3 Latest Latest
Warning

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

Go to latest
Published: Nov 3, 2017 License: MPL-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Decode

func Decode(data string, result interface{})

func DecodeAndValidate

func DecodeAndValidate(data string, result interface{})

func DrainSchedule

func DrainSchedule(sched core.Schedule) []time.Time

DrainSchedule takes all tokens from passed schedule. Returns all tokens and finish time.

func ExpectScheduleNexts

func ExpectScheduleNexts(sched core.Schedule, nexts ...time.Duration)

func StartAndDrainSchedule

func StartAndDrainSchedule(sched core.Schedule) []time.Duration

StartAndDrainSchedule starts shcedule and takes all tokens from it. Returns all tokens and finish time relative to start

Types

This section is empty.

Jump to

Keyboard shortcuts

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