type go.pact.im/x/clock/fakeclock.Clock
23 uses
go.pact.im/x/clock/fakeclock (current package)
fakeclock.go#L17: } = (*Clock)(nil)
fakeclock.go#L38: type Clock struct {
fakeclock.go#L46: func Unix() *Clock {
fakeclock.go#L52: func Go() *Clock {
fakeclock.go#L60: func Y2038(d time.Duration) *Clock {
fakeclock.go#L66: func Time(now time.Time) *Clock {
fakeclock.go#L67: return &Clock{
fakeclock.go#L74: func (c *Clock) Now() time.Time {
fakeclock.go#L85: func (c *Clock) Next() (time.Time, bool) {
fakeclock.go#L97: func (c *Clock) Set(t time.Time) {
fakeclock.go#L112: func (c *Clock) Add(d time.Duration) time.Time {
fakeclock.go#L129: func (c *Clock) AddDate(years, months, days int) time.Time {
fakeclock.go#L139: func (c *Clock) Schedule(d time.Duration, f func(now time.Time)) clock.Event {
fakeclock.go#L149: func (c *Clock) Timer(d time.Duration) clock.Timer {
fakeclock.go#L161: func (c *Clock) Ticker(d time.Duration) clock.Ticker {
fakeclock.go#L176: func (c *Clock) stop(m moment) bool {
fakeclock.go#L188: func (c *Clock) reset(m moment, d time.Duration, dp *time.Duration) bool {
fakeclock.go#L200: func (c *Clock) schedule(m moment, when time.Time) bool {
fakeclock.go#L211: func (c *Clock) next(now time.Time) time.Time {
fakeclock.go#L233: func (c *Clock) advance(now time.Time) {
fakeclock.go#L249: c *Clock
fakeclock.go#L271: c *Clock
fakeclock.go#L301: c *Clock
The pages are generated with Golds v0.7.6. (GOOS=linux GOARCH=amd64)