_10_simply_browser

package
v0.0.0-...-6d07767 Latest Latest
Warning

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

Go to latest
Published: Jan 21, 2025 License: MIT Imports: 2 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 struct {
	// contains filtered or unexported fields
}

func NewBrowser

func NewBrowser() *Browser

func (*Browser) Back

func (this *Browser) Back()

func (*Browser) Forward

func (this *Browser) Forward()

func (*Browser) Open

func (this *Browser) Open(addr string)

type BrowserInterface

type BrowserInterface interface {
	// 打开一个网址
	//  @param string
	Open(string)

	// 前进
	Forward()

	// 后退
	Back()
}

模拟浏览器的行为

Jump to

Keyboard shortcuts

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