app

package
v0.5.3 Latest Latest
Warning

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

Go to latest
Published: Aug 12, 2025 License: MIT Imports: 10 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ChatApplication

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

ChatApplication represents the main application model following SOLID principles

func NewChatApplication

func NewChatApplication(services *container.ServiceContainer, models []string) *ChatApplication

NewChatApplication creates a new chat application with all dependencies injected

func (*ChatApplication) GetServices

func (app *ChatApplication) GetServices() *container.ServiceContainer

GetServices returns the service container (for testing or extensions)

func (*ChatApplication) GetState

func (app *ChatApplication) GetState() *handlers.AppState

GetState returns the current application state (for testing or extensions)

func (*ChatApplication) Init

func (app *ChatApplication) Init() tea.Cmd

Init initializes the application

func (*ChatApplication) Update

func (app *ChatApplication) Update(msg tea.Msg) (tea.Model, tea.Cmd)

Update handles all application messages using the message router pattern

func (*ChatApplication) View

func (app *ChatApplication) View() string

View renders the current application view

Jump to

Keyboard shortcuts

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