render

package
v0.1.4 Latest Latest
Warning

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

Go to latest
Published: Jul 8, 2026 License: CC0-1.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
}

Browser renders widget HTML to static WebP screenshots.

func NewBrowser

func NewBrowser() (*Browser, error)

func (*Browser) CaptureWebP

func (b *Browser) CaptureWebP(ctx context.Context, html string) ([]byte, error)

func (*Browser) Close

func (b *Browser) Close()

Jump to

Keyboard shortcuts

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