gui

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Nov 15, 2026 License: Apache-2.0 Imports: 23 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

View Source
const EventLogSource = "Serverless SSH CA Client"

Variables

View Source
var ErrAlreadyRunning = errors.New("already running")

ErrAlreadyRunning is returned by lockSingleInstance when another GUI holds the lock

Functions

func Execute

func Execute(ctx context.Context, args []string) error

Types

type Exit added in v1.0.1

type Exit struct {
	Message string
	Code    int
}

Exit is returned by Execute when the GUI exits without running and has something to tell the user: the usage or version, a problem with the command line, or that the GUI is already running. Code is the exit code, which is 0 when Message is only information.

func (*Exit) Error added in v1.0.1

func (e *Exit) Error() string

Jump to

Keyboard shortcuts

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