Documentation ¶
Index ¶
- func ParseDuration(str string) time.Duration
- func ParseInt64(value string) int64
- type Entry
- func (e *Entry) Epsilon() int64
- func (e *Entry) GUID() string
- func (e *Entry) GetPayload() map[string]interface{}
- func (e *Entry) Init(now time.Time)
- func (e *Entry) Next() int64
- func (e *Entry) Plan(now time.Time) (bool, error)
- func (e *Entry) SameAs(t models.Task) bool
- func (e *Entry) SetPayload(payload map[string]interface{})
- func (e *Entry) URN() string
- func (e *Entry) UserID() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ParseDuration ¶
ParseDuration return a time.Duration from an iso string.
func ParseInt64 ¶
ParseInt64 return an int64 from a string. Errors are handle as 0.
Types ¶
type Entry ¶
type Entry struct {
// contains filtered or unexported fields
}
Entry is a task with execution time management.
func (*Entry) GetPayload ¶
GetPayload return the Task payload
func (*Entry) SetPayload ¶
SetPayload upodate Task payload
Click to show internal directories.
Click to hide internal directories.