browser

package module
v0.0.0-...-0c40252 Latest Latest
Warning

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

Go to latest
Published: Feb 18, 2024 License: MIT Imports: 5 Imported by: 0

README

Browser

Documentation

Index

Constants

View Source
const Binding = "browser"

Variables

Functions

This section is empty.

Types

type Browser

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

func NewBrowser

func NewBrowser(config config.Config) *Browser

func (*Browser) Destroy

func (r *Browser) Destroy(slug string)

Destroy 销毁浏览器

func (*Browser) Lock

func (r *Browser) Lock(slug string)

Lock 获取锁

func (*Browser) New

func (r *Browser) New(slug string) *rod.Browser

New 获取浏览器

func (*Browser) Unlock

func (r *Browser) Unlock(slug string)

Unlock 释放锁

type ServiceProvider

type ServiceProvider struct {
}

func (*ServiceProvider) Boot

func (receiver *ServiceProvider) Boot(app foundation.Application)

func (*ServiceProvider) Register

func (receiver *ServiceProvider) Register(app foundation.Application)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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