Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type TimeNow ¶
type TimeNow struct {
// contains filtered or unexported fields
}
TimeNow is a unix epoch time structure that is updated in 1 second intervals.
type TimeNowString ¶
type TimeNowString struct {
// contains filtered or unexported fields
}
TimeNowString is a formatted utc time string that is updated in 1 second intervals.
func NewTimeNowString ¶
func NewTimeNowString(format string) *TimeNowString
NewTimeNowString returns a new TimeNowString struct
func (*TimeNowString) String ¶
func (t *TimeNowString) String() string
String fulfills the stringer interface. returns the current time value as a string
func (*TimeNowString) Update ¶
func (t *TimeNowString) Update()
Update forces an update to the current time.
Click to show internal directories.
Click to hide internal directories.