app

package
v0.0.52 Latest Latest
Warning

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

Go to latest
Published: May 22, 2025 License: MIT Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type App

type App struct {
	CurrentSession *session.Session
	Logs           logging.Service
	Sessions       session.Service
	Messages       message.Service
	History        history.Service
	Permissions    permission.Service
	Status         status.Service

	PrimaryAgent agent.Service

	LSPClients map[string]*lsp.Client
	// contains filtered or unexported fields
}

func New

func New(ctx context.Context, conn *sql.DB) (*App, error)

func (*App) IsFilepickerOpen added in v0.0.52

func (app *App) IsFilepickerOpen() bool

IsFilepickerOpen returns whether the filepicker is currently open

func (*App) SetFilepickerOpen added in v0.0.52

func (app *App) SetFilepickerOpen(open bool)

SetFilepickerOpen sets the state of the filepicker

func (*App) Shutdown

func (app *App) Shutdown()

Shutdown performs a clean shutdown of the application

Jump to

Keyboard shortcuts

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