app

package
v0.1.3 Latest Latest
Warning

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

Go to latest
Published: Jul 31, 2026 License: Apache-2.0 Imports: 23 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Version = "0.1.0"

Functions

func DefaultDataDir

func DefaultDataDir() string

func OpenBrowser

func OpenBrowser(ctx context.Context, url string) error

Types

type RunningServer

type RunningServer struct {
	URL      string
	HTTP     *http.Server
	Listener net.Listener
	Server   *server.Server
	// contains filtered or unexported fields
}

func Start

func Start(ctx context.Context, config ServerConfig) (*RunningServer, error)

func (*RunningServer) Shutdown

func (r *RunningServer) Shutdown(ctx context.Context) error

type ServerConfig

type ServerConfig struct {
	Listen            string
	DataDir           string
	AuthToken         string
	SecretKey         string
	PublicURL         string
	DefaultAgentImage string
	OpenBrowser       bool
	AutoConnectDocker bool
	Logger            *slog.Logger
}

Jump to

Keyboard shortcuts

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