ui

package
v0.0.0-...-1ecb8ac Latest Latest
Warning

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

Go to latest
Published: Sep 22, 2024 License: Unlicense Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Chat

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

func NewChat

func NewChat(bpClient *cl.Client) Chat

func (Chat) Init

func (chat Chat) Init() tea.Cmd

func (Chat) Update

func (m Chat) Update(msg tea.Msg) (tea.Model, tea.Cmd)

func (Chat) View

func (m Chat) View() string

type Message

type Message struct {
	From    string
	Message string
}

type Model

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

func New

func New(config bp.Config) Model

func (Model) Init

func (m Model) Init() tea.Cmd

func (Model) Update

func (m Model) Update(message tea.Msg) (tea.Model, tea.Cmd)

func (Model) View

func (m Model) View() string

Jump to

Keyboard shortcuts

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