Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Sender ¶
type Sender struct {
// contains filtered or unexported fields
}
Sender writes log lines to a task.
type Store ¶
type Store struct {
// contains filtered or unexported fields
}
func (*Store) AppID ¶ added in v0.0.2
AppID returns the app ID associated with a task, or empty string if not found.
func (*Store) CreatedAt ¶
CreatedAt returns the task's creation timestamp as an RFC3339 string. Returns empty string if the task is not found.
func (*Store) Subscribe ¶
func (s *Store) Subscribe(id string) (snapshot []string, live <-chan string, done <-chan struct{}, ok bool)
Subscribe returns a snapshot of buffered lines and a channel for live lines written after the snapshot. The live channel only delivers new lines — no dedup needed by the caller. The done channel is closed when the task completes.
Click to show internal directories.
Click to hide internal directories.