browser

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: Jul 30, 2022 License: GPL-3.0 Imports: 8 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(c Config) *Browser

func (*Browser) Close

func (b *Browser) Close()

func (*Browser) Running

func (b *Browser) Running() int64

func (*Browser) Scan

func (b *Browser) Scan(tasks chromedp.Tasks) error

func (*Browser) Start

func (b *Browser) Start(ctx context.Context) error

type Config

type Config struct {
	ExecPath   string
	NoHeadless bool
	Incognito  bool
	Proxy      string
}

Jump to

Keyboard shortcuts

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