capture

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Mar 7, 2026 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Capture

func Capture(cfg config.Config) ([]byte, error)

Capture takes a screenshot of the URL described by cfg and returns PNG bytes.

func FindChrome

func FindChrome(explicit string) (string, error)

FindChrome locates a Chrome or Chromium binary. If explicit is non-empty it is validated directly; otherwise OS-specific candidate paths are probed.

Types

This section is empty.

Jump to

Keyboard shortcuts

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