Help us shape the future of Go! Take the 2026 Go Developer Survey

app

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Aug 22, 2025 License: MIT Imports: 19 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 {
	Sessions    session.Service
	Messages    message.Service
	History     history.Service
	Permissions permission.Service

	CoderAgent 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) RunNonInteractive

func (a *App) RunNonInteractive(ctx context.Context, prompt string, outputFormat string, quiet bool) error

RunNonInteractive handles the execution flow when a prompt is provided via CLI flag.

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