Documentation ¶ Index ¶ type Model type Response type Stream func NewStream() Stream Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Model ¶ type Model interface { tea.Model GetId() string } type Response ¶ type Response struct { ID string Value *v1beta1.Value } type Stream ¶ type Stream interface { // Render renders the Model to the user. This method is blocking. // until the user has made a decision. Render(ctx context.Context, p Model) (*Response, error) RenderQueue() <-chan Model Respond(v *Response) } func NewStream ¶ func NewStream() Stream Source Files ¶ View all Source files stream.go Click to show internal directories. Click to hide internal directories.