Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type NowFn

type NowFn func() time.Time

NowFn is the function supplied to determine "now"

type Options

type Options interface {
	// SetNowFn sets the nowFn
	SetNowFn(value NowFn) Options

	// NowFn returns the nowFn
	NowFn() NowFn
}

Options represents the options for the clock

func NewOptions

func NewOptions() Options

NewOptions creates new clock options