sqs-browse: a lot of work to try to keep UI complexity down
Added the notion of controllers and a dispatcher which will queue up operations
This commit is contained in:
parent
1969504611
commit
7526c095ee
24 changed files with 602 additions and 97 deletions
16
internal/common/ui/events/errors.go
Normal file
16
internal/common/ui/events/errors.go
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
package events
|
||||
|
||||
import (
|
||||
"github.com/lmika/awstools/internal/common/ui/uimodels"
|
||||
)
|
||||
|
||||
// Error indicates that an error occurred
|
||||
type Error error
|
||||
|
||||
// Message indicates that a message should be shown to the user
|
||||
type Message string
|
||||
|
||||
// PromptForInput indicates that the context is requesting a line of input
|
||||
type PromptForInput struct {
|
||||
OnDone uimodels.Operation
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue