Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type StreamTable ¶
type StreamTable struct { sync.Mutex *tview.Table TableHeader [][]*tview.TableCell DataSource StreamTableSource DataFormatter StreamTableFormatter // contains filtered or unexported fields }
func NewStreamTable ¶
func NewStreamTable(header [][]*tview.TableCell, source StreamTableSource, formatter StreamTableFormatter) *StreamTable
func (*StreamTable) StartStream ¶
func (ST *StreamTable) StartStream()
func (*StreamTable) StopStream ¶
func (ST *StreamTable) StopStream()
func (*StreamTable) UpdateData ¶
func (ST *StreamTable) UpdateData(input interface{})
type StreamTableFormatter ¶
type StreamTableSource ¶
type StreamTableSource func(chan string) chan interface{}
Click to show internal directories.
Click to hide internal directories.