rpc

package
v0.0.0-...-558f2c6 Latest Latest
Warning

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

Go to latest
Published: Oct 7, 2022 License: ISC Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type HTMLToImageService

type HTMLToImageService struct {
	Client     *rpc.Client
	RetryLimit uint8

	DelayDuration time.Duration
	// contains filtered or unexported fields
}

func NewClient

func NewClient(addr string, retryLimit uint8, delayDuration time.Duration) (*HTMLToImageService, error)

func (*HTMLToImageService) Screenshot

func (s *HTMLToImageService) Screenshot(websiteURL string) ([]byte, error)

Jump to

Keyboard shortcuts

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