browser

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Mar 28, 2020 License: MIT Imports: 5 Imported by: 0

Documentation

Overview

Package browser offers a type to open a chromium or google chrome browser window in app-mode with the given URL as entrypoint

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Browser added in v0.3.0

type Browser struct {
	Done chan error
	// contains filtered or unexported fields
}

Browser handles a chromium or google chrome process

func (*Browser) Start added in v0.3.0

func (b *Browser) Start(url string) error

Start will create a new browser process

func (*Browser) Stop added in v0.3.0

func (b *Browser) Stop()

Stop will stop the current browser process

Jump to

Keyboard shortcuts

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