browser

package
v0.0.0-...-dd6d8e9 Latest Latest
Warning

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

Go to latest
Published: Aug 4, 2026 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

Functions

This section is empty.

Types

type Browser

type Browser struct{}

func (*Browser) Open

func (*Browser) Open(url string) error

Open opens the default browser.

func (*Browser) OpenCommand

func (*Browser) OpenCommand(ctx context.Context, url, command string) error

OpenCommand opens the browser using the command.

type Interface

type Interface interface {
	Open(url string) error
	OpenCommand(ctx context.Context, url, command string) error
}

Jump to

Keyboard shortcuts

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