minikube/vendor/github.com/pkg/browser
aprindle adf5fc48fa Added dashboard cmd to minikube. Also added dependencies via godep.
In the future will add feature to wait for dashboard to start and then
display if it is not running yet.
2016-06-07 11:43:47 -07:00
..
LICENSE Added dashboard cmd to minikube. Also added dependencies via godep. 2016-06-07 11:43:47 -07:00
README.md Added dashboard cmd to minikube. Also added dependencies via godep. 2016-06-07 11:43:47 -07:00
browser.go Added dashboard cmd to minikube. Also added dependencies via godep. 2016-06-07 11:43:47 -07:00
browser_darwin.go Added dashboard cmd to minikube. Also added dependencies via godep. 2016-06-07 11:43:47 -07:00
browser_linux.go Added dashboard cmd to minikube. Also added dependencies via godep. 2016-06-07 11:43:47 -07:00
browser_unsupported.go Added dashboard cmd to minikube. Also added dependencies via godep. 2016-06-07 11:43:47 -07:00
browser_windows.go Added dashboard cmd to minikube. Also added dependencies via godep. 2016-06-07 11:43:47 -07:00

README.md

browser

import "github.com/pkg/browser"

Package browser provides helpers to open files, readers, and urls in a browser window.

The choice of which browser is started is entirely client dependant.

Variables

var Stderr io.Writer = os.Stderr

Stderr is the io.Writer to which executed commands write standard error.

var Stdout io.Writer = os.Stdout

Stdout is the io.Writer to which executed commands write standard output.

func OpenFile

func OpenFile(path string) error

OpenFile opens new browser window for the file path.

func OpenReader

func OpenReader(r io.Reader) error

OpenReader consumes the contents of r and presents the results in a new browser window.

func OpenURL

func OpenURL(url string) error

OpenURL opens a new browser window pointing to url.


Generated by godoc2md