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

opener

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Apr 19, 2026 License: MPL-2.0 Imports: 23 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Open

func Open(
	ctx context.Context,
	ideName string,
	ideOptions map[string]config.OptionValue,
	params Params,
) error

Open dispatches to the correct IDE opener based on ideName.

func ParseAddressAndPort

func ParseAddressAndPort(bindAddressOption string, defaultPort int) (string, int, error)

ParseAddressAndPort parses a bind address option into host address and port. If bindAddressOption is empty, it finds an available port starting from defaultPort.

Types

type Params

type Params struct {
	GPGAgentForwarding bool
	SSHAuthSockID      string
	GitSSHSigningKey   string
	DevsyConfig        *config.Config
	Client             client2.BaseWorkspaceClient
	User               string
	Result             *config2.Result
	Log                log.Logger
}

Params holds the parameters needed to open an IDE.

Jump to

Keyboard shortcuts

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