model

package
v0.1.10 Latest Latest
Warning

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

Go to latest
Published: Nov 10, 2025 License: MIT Imports: 17 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 {
	State state.AppState // Application state
	// contains filtered or unexported fields
}

func NewModel

func NewModel(ctx context.Context, redis *redis.Client) Model

func (Model) ClearErrorMessage

func (m Model) ClearErrorMessage() Model

func (Model) ConnectionString

func (m Model) ConnectionString() string

func (Model) DB

func (m Model) DB() string

func (Model) HostName

func (m Model) HostName() string

func (Model) Init

func (m Model) Init() tea.Cmd

func (Model) NextTab

func (m Model) NextTab() Model

func (Model) PreviousTab

func (m Model) PreviousTab() Model

func (Model) Update

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

func (Model) UpdateErrorMessage

func (m Model) UpdateErrorMessage(err error) Model

func (Model) UpdateRedisClient

func (m Model) UpdateRedisClient(msg command.NewRedisClientMsg) Model

func (Model) UpdateWindowSize

func (m Model) UpdateWindowSize(height, width int) Model

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