Documentation ¶
Overview ¶
Processing and type definitions for events within moebot. These should eventually make their way into the database to keep track of events in moebot
Index ¶
Constants ¶
View Source
const ( // Timer marker key for the total time elapsed in the timer TimerMarkTotal = "_total" // Timer marker key for the first event in the timer. This will always be present TimerMarkStart = "_start" // Timer marker key for the last event in the timer. This will always be present TimerMarkEnd = "_end" // Timer marker keys for commands TimerMarkCommandBegin = "command_begin_" TimerMarkCommandEnd = "command_end_" // Timer marker keys for db interactions TimerMarkDbBegin = "db_begin_" TimerMarkDbEnd = "db_end_" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Timer ¶
type Timer struct {
Marks []TimerMark
}
func StartNamedTimer ¶
Creates a new Timer object with an initial "Start" time. As soon as you call this the timer will start
Click to show internal directories.
Click to hide internal directories.