chrome

package
v0.0.0-...-4cc6d5b Latest Latest
Warning

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

Go to latest
Published: Mar 24, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Headless

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

func NewHeadless

func NewHeadless(opts ...Option) *Headless

func (*Headless) Generate

func (h *Headless) Generate(ctx context.Context, content []byte) ([]byte, error)

type Option

type Option func(*options)

func WithPageMargin

func WithPageMargin(margin types.PageMargin) Option

func WithPageSize

func WithPageSize(size types.PageSize) Option

Jump to

Keyboard shortcuts

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