Versions in this module Expand all Collapse all v0 v0.6.2 Mar 19, 2024 Changes in this version + type Queue struct + func New() Queue + func (q *Queue) Add(t tasks.Task) + func (q *Queue) Len() int + func (q *Queue) Pop() (tasks.Task, bool) + func (q *Queue) SetStatus(taskId, taskSubId, status int) + func (q *Queue) Status(taskId int) int + type Status map[int]int + func (s Status) Get() (status int) + type StatusMap struct + func NewStatusMap() *StatusMap + func (sm *StatusMap) Get(id int) int + func (sm *StatusMap) Set(id, subid, status int)