Documentation ¶
Index ¶
Constants ¶
View Source
const MaxTaskCapacity int64 = 20
Variables ¶
This section is empty.
Functions ¶
func CachedTaskCount ¶
func CachedTaskCount() int
func DecrementCapacity ¶
func DecrementCapacity()
func IncrementCapacity ¶
func IncrementCapacity()
func TaskAlreadyExists ¶
func TaskCacheDir ¶
func TaskCacheDir() string
Types ¶
type Task ¶
type Task struct { Kind string `json:"kind"` Id string `json:"id"` Title string `json:"title"` Description string `json:"description"` }
func RandomTask ¶
func (*Task) ClearCache ¶
Click to show internal directories.
Click to hide internal directories.