Documentation ¶
Index ¶
Constants ¶
View Source
const ( ErrTimerNotFoundf string = "timer with id, \"%s\" not found" ErrTimeSliceNotFoundf string = "timeSlice with id, \"%s\" not found" )
error constants
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SerializedData ¶
type SerializedData struct { Timers map[string]data.Timer `json:"Timers"` TimeSlices map[string]data.TimeSlice `json:"TimeSlices"` }
SerializedData provides a struct that describes the representation of the data when serialized
type Serializer ¶
type Serializer interface { SerializedDataRead() SerializedData SerializedDataWrite(SerializedData) }
type TimeSlice ¶
type TimeSlice interface { //MetaTimerWrite TimeSliceWrite(timeSliceID string, timeSlice data.TimeSlice) (err error) //MetaTimerDelete TimeSliceDelete(timeSliceID string) (err error) //MetaTimerRead TimeSliceRead(timeSliceID string) (timeSlice data.TimeSlice, err error) }
MetaTimeSlice
Click to show internal directories.
Click to hide internal directories.