controller

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Oct 15, 2021 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BrowserController

type BrowserController struct {
	// contains filtered or unexported fields
}

func (*BrowserController) Run

func (bc *BrowserController) Run() error

func (*BrowserController) Shutdown

func (bc *BrowserController) Shutdown()

type BrowserControllerOption

type BrowserControllerOption interface {
	// contains filtered or unexported methods
}

BrowserControllerOption configures BrowserController.

func WithCloseTimeout

func WithCloseTimeout(d time.Duration) BrowserControllerOption

func WithFrontier

func WithFrontier(frontier frontier.Frontier) BrowserControllerOption

func WithListenInterface

func WithListenInterface(listenInterface string) BrowserControllerOption

func WithListenPort

func WithListenPort(port int) BrowserControllerOption

func WithLogWriter

func WithLogWriter(logWriter logwriter.LogWriter) BrowserControllerOption

func WithMaxConcurrentSessions

func WithMaxConcurrentSessions(maxSessions int) BrowserControllerOption

func WithRobotsEvaluator

func WithRobotsEvaluator(robotsevaluator robotsevaluator.RobotsEvaluator) BrowserControllerOption

func WithSessionOptions

func WithSessionOptions(opts ...session.Option) BrowserControllerOption

Jump to

Keyboard shortcuts

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