feat: add miner event log tab
This commit is contained in:
@@ -27,6 +27,7 @@ type StreamerUpdate struct {
|
||||
Viewer *twitch.Viewer
|
||||
Entry *twitch.StreamerEntry
|
||||
IRC *IRCUpdate
|
||||
Miner *MinerUpdate
|
||||
Index int
|
||||
Err error
|
||||
Done bool
|
||||
@@ -39,6 +40,12 @@ type IRCUpdate struct {
|
||||
Line string
|
||||
}
|
||||
|
||||
// MinerUpdate carries one miner log line into the TUI.
|
||||
type MinerUpdate struct {
|
||||
Login string
|
||||
Line string
|
||||
}
|
||||
|
||||
type authStartedMsg struct {
|
||||
Updates <-chan AuthUpdate
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user