Versions in this module Expand all Collapse all v0 v0.6.0 Sep 9, 2026 Changes in this version type Service + Limits limits.Limits v0.5.0 Sep 8, 2026 Changes in this version + const FieldAssignee + const FieldDue + const FieldForm + const FieldGroup + const FieldInstanceAge + const FieldLane + const FieldPriority + const FieldProcess + const FieldTaskName + const MatchAll + const MatchAny + const OpAny + const OpAtLeast + const OpAtMost + const OpContains + const OpHas + const OpHasNot + const OpIs + const OpIsEmpty + const OpIsMe + const OpIsNot + const OpIsOneOf + const OpNewerThan + const OpNone + const OpOlderThan + const OpOverdue + const OpStartsWith + const OpUnder + const OpWithin + const OptionsGroups + const OptionsLanes + const OptionsProcesses + const OptionsTaskNames + const OptionsUsers + const UnitDays + const UnitHours + const ValueChoice + const ValueChoices + const ValueCount + const ValueDuration + const ValueNone + const ValueNumber + const ValueText + const VisibilityGroup + const VisibilityOrg + const VisibilityPrivate + func NewID() (string, error) + type Condition struct + Field string + Op string + Unit string + Value string + Values []string + type CountFunc func(matchers []*Matcher, u User) (perMatcher []int, total int, truncated bool, err error) + type Counts struct + Folders map[string]int + Total int + Truncated bool + type FieldSpec struct + ID string + Ops []OpSpec + Options string + func Catalog() []FieldSpec + type Folder struct + CreatedAt int64 + GroupID string + ID string + Name string + Owner string + Position int + Rule Rule + UpdatedAt int64 + Visibility string + func (f Folder) EditableBy(userID string) bool + func (f Folder) VisibleTo(userID string, groupIDs []string) bool + type Matcher struct + func Compile(r Rule) (*Matcher, error) + func (m *Matcher) Match(t Task, u User, now time.Time) bool + func (m *Matcher) NeedsInstance() bool + func (m *Matcher) Source() string + type OpSpec struct + ID string + Value string + type Option struct + Label string + Value string + type Options struct + Groups []Option + Lanes []Option + MyGroups []Option + Processes []Option + TaskNames []Option + Users []Option + type Rule struct + Conditions []Condition + Match string + func (r Rule) FEEL() string + func (r Rule) Validate() error + type Service struct + func New(loop *runloop.Loop, store *Store, options func(User) Options, count CountFunc, ...) *Service + func (s *Service) HandleCounts(w http.ResponseWriter, r *http.Request) + func (s *Service) HandleCreate(w http.ResponseWriter, r *http.Request) + func (s *Service) HandleDelete(w http.ResponseWriter, r *http.Request) + func (s *Service) HandleFields(w http.ResponseWriter, r *http.Request) + func (s *Service) HandleList(w http.ResponseWriter, r *http.Request) + func (s *Service) HandlePreview(w http.ResponseWriter, r *http.Request) + func (s *Service) HandleUpdate(w http.ResponseWriter, r *http.Request) + func (s *Service) MatcherFor(id string, v User) (Folder, *Matcher, bool, error) + func (s *Service) Visible(v User) ([]Folder, []*Matcher, error) + type Store struct + func NewStore(dir string) (*Store, error) + func (s *Store) VisibleTo(userID string, groupIDs []string) ([]Folder, error) + type Task struct + Assignee string + CandidateGroups string + DueDate int64 + ElementID string + HasForm bool + InstanceCreatedAt int64 + Lane string + LanePath []string + Priority int32 + ProcessID string + ProcessName string + TaskName string + type User struct + Groups []string + ID string + Name string + func Viewer(r *http.Request) User