1
// Copyright 2015 Canonical Ltd.
2
// Licensed under the AGPLv3, see LICENCE file for details.
10
// WallClock exposes wall-clock time via the Clock interface.
11
var WallClock wallClock
13
// WallClock exposes wall-clock time as returned by time.Now.
14
type wallClock struct{}
16
// Now is part of the Clock interface.
17
func (wallClock) Now() time.Time {
21
// Alarm returns a channel that will send a value at some point after
23
func (wallClock) After(d time.Duration) <-chan time.Time {