browser

package
v1.37.0 Latest Latest
Warning

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

Go to latest
Published: May 10, 2024 License: MPL-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package browser provides utilities for interacting with users' browsers.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CanOpen added in v1.21.1

func CanOpen() bool

CanOpen reports whether it's likely that Open will succeed.

func Commands

func Commands() [][]string

Commands returns a list of possible commands to use to open a url.

func Open

func Open(url string) bool

Open tries to open url in a browser and reports whether it succeeded.

Types

This section is empty.

Jump to

Keyboard shortcuts

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