stream

package
v1.1.6 Latest Latest
Warning

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

Go to latest
Published: Jun 22, 2023 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Msg

type Msg int
const (
	ConnectingMsg Msg = iota
	ConnectedMsg
	InterruptStreamMsg
	EndOfStreamMsg
	ReplayedMsg
)

type ReplayBundle

type ReplayBundle []any

type ResponseUnknownMsg

type ResponseUnknownMsg string

type Stream

type Stream struct {
	ReplayBundle ReplayBundle
	// contains filtered or unexported fields
}

func New

func (*Stream) Init

func (s *Stream) Init() tea.Cmd

func (*Stream) StartStream

func (s *Stream) StartStream() tea.Msg

func (*Stream) StreamColor

func (s *Stream) StreamColor() string

func (*Stream) TargetParallelProcessingBlock

func (s *Stream) TargetParallelProcessingBlock() uint64

func (*Stream) Update

func (s *Stream) Update(msg tea.Msg) tea.Cmd

type StreamErrorMsg

type StreamErrorMsg error

Jump to

Keyboard shortcuts

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