Documentation ¶ Index ¶ type LogLine type Model func InitialModel() Model func (m Model) Init() tea.Cmd func (m Model) Update(msg tea.Msg) (tea.Model, tea.Cmd) func (m Model) View() string type Streamer func NewStreamer() *Streamer func (s *Streamer) Start(ctx context.Context) Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type LogLine ¶ type LogLine struct { Timestamp time.Time `json:"timestamp"` Service string `json:"service"` Message string `json:"message"` Type string `json:"type"` // "container" or "host" } type Model ¶ type Model struct { // contains filtered or unexported fields } func InitialModel ¶ func InitialModel() Model func (Model) Init ¶ func (m Model) Init() tea.Cmd func (Model) Update ¶ func (m Model) Update(msg tea.Msg) (tea.Model, tea.Cmd) func (Model) View ¶ func (m Model) View() string type Streamer ¶ type Streamer struct { Lines chan LogLine Errors chan error // contains filtered or unexported fields } func NewStreamer ¶ func NewStreamer() *Streamer func (*Streamer) Start ¶ func (s *Streamer) Start(ctx context.Context) Source Files ¶ View all Source files streamer.gotui.go Click to show internal directories. Click to hide internal directories.