png

package
v0.0.13 Latest Latest
Warning

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

Go to latest
Published: Nov 21, 2022 License: MPL-2.0 Imports: 6 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ConvertSVG

func ConvertSVG(ms *xmain.State, page playwright.Page, svg []byte) ([]byte, error)

Types

type Playwright

type Playwright struct {
	PW      *playwright.Playwright
	Browser playwright.Browser
	Page    playwright.Page
}

func InitPlaywright

func InitPlaywright() (Playwright, error)

func (*Playwright) Cleanup

func (pw *Playwright) Cleanup() error

func (*Playwright) RestartBrowser

func (pw *Playwright) RestartBrowser() (Playwright, error)

Jump to

Keyboard shortcuts

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