open

package
v0.5.32 Latest Latest
Warning

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

Go to latest
Published: Mar 6, 2022 License: GPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Run

func Run(cmd string, args ...string) error

Types

type OpenCB

type OpenCB func(what string) error

type Opener

type Opener struct {
	// contains filtered or unexported fields
}

func New

func New() *Opener

func (*Opener) Open

func (o *Opener) Open(url string) error

func (*Opener) OpenURL

func (o *Opener) OpenURL(url string) error

func (*Opener) SetOpen

func (o *Opener) SetOpen(cb OpenCB)

func (*Opener) SetOpenURL

func (o *Opener) SetOpenURL(cb OpenCB)

Jump to

Keyboard shortcuts

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