Documentation
¶
Index ¶
- type BrowserController
- type BrowserControllerOption
- func WithCloseTimeout(d time.Duration) BrowserControllerOption
- func WithFrontier(frontier frontier.Frontier) BrowserControllerOption
- func WithListenInterface(listenInterface string) BrowserControllerOption
- func WithListenPort(port int) BrowserControllerOption
- func WithLogWriter(logWriter logwriter.LogWriter) BrowserControllerOption
- func WithMaxConcurrentSessions(maxSessions int) BrowserControllerOption
- func WithRobotsEvaluator(robotsevaluator robotsevaluator.RobotsEvaluator) BrowserControllerOption
- func WithSessionOptions(opts ...session.Option) BrowserControllerOption
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 New ¶
func New(opts ...BrowserControllerOption) *BrowserController
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
Click to show internal directories.
Click to hide internal directories.