Documentation
¶
Overview ¶
Package activity normalizes session-local work without owning its execution.
Index ¶
Constants ¶
View Source
const Channel = "orb:activity"
Variables ¶
This section is empty.
Functions ¶
func Extension ¶
func Extension(factory ViewFactory) extensions.Factory
Types ¶
type Record ¶
type Record struct {
SessionID string
Source string
ID string
Kind Kind
Title string
Detail string
State State
Sequence uint64
Started time.Time
Updated time.Time
}
Record is a full observation, not a patch. IDs belong to the publisher, not tool rows.
type Store ¶
type Store struct {
// contains filtered or unexported fields
}
func (*Store) ClearCompleted ¶
func (s *Store) ClearCompleted()
type View ¶
type View interface {
extensions.Component
Control(string) error
}
View is supplied by the presentation assembly; the activity module stays headless.
type ViewFactory ¶
type ViewFactory func(*Store, extensions.UIHost, extensions.Theme) View
Click to show internal directories.
Click to hide internal directories.