browser

package
v0.0.0-...-f0d068a Latest Latest
Warning

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

Go to latest
Published: Apr 30, 2024 License: AGPL-3.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Browser

type Browser interface {
	// Cast loads an URL
	Load(url string) error
	// Reset resets the browser to the given idle URL
	Reset(url string) error
	// Status returns the browser's current status
	Status() (Status, error)
	// Title returns the browser's currently loaded page title
	Title() (string, error)
	// URL returns the browser's currently loaded page URL
	URL() (string, error)
}

type Status

type Status int
const (
	StatusUnknown Status = iota
	StatusIdle
	StatusCasting
)

func (Status) String

func (s Status) String() string

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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