Help us shape the future of Go! Take the 2026 Go Developer Survey

streaming

package
v0.3.20 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 1, 2026 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Model

type Model struct {
	// contains filtered or unexported fields
}

Model represents streaming state

func New

func New() *Model

New creates a new streaming model

func (*Model) Blur

func (m *Model) Blur() iface.SubModel

Blur is a no-op

func (*Model) Content

func (m *Model) Content() string

Content returns the accumulated content

func (*Model) Focus

func (m *Model) Focus() iface.SubModel

Focus is a no-op

func (*Model) Focused

func (m *Model) Focused() bool

Focused returns false (streaming display doesn't take focus)

func (*Model) IsStreaming

func (m *Model) IsStreaming() bool

IsStreaming returns whether currently streaming

func (*Model) Reset

func (m *Model) Reset()

Reset clears the streaming buffer

func (*Model) Update

func (m *Model) Update(msg tea.Msg) (iface.SubModel, tea.Cmd)

Update handles streaming messages

func (*Model) View

func (m *Model) View() string

View renders the streaming content

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL