tricrypt/tui/channel_all.go
2024-05-01 17:21:10 +03:00

16 lines
367 B
Go

package tui
func (t *TUI) launchAllChannels() error {
var err error
err = t.launchErrorsChannel()
if err != nil {
return err
}
t.errorsChannel <- t.launchInputChannel()
t.errorsChannel <- t.launchInputChannel()
t.errorsChannel <- t.launchMessageChannel()
t.errorsChannel <- t.launchSignalsChannel()
t.errorsChannel <- t.launchStateChannel()
return nil
}