Documentation ¶
Overview ¶
Package url2png uses the url2png service to take screenshots of websites.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
Client holds the API key and secret for a given url2png account.
func (Client) Screenshot ¶
Screenshot submits a request to the url2png service, returning a stream of the PNG data, or an error.
func (Client) ScreenshotWithContext ¶
func (c Client) ScreenshotWithContext(ctx context.Context, website string, options *Options) (io.ReadCloser, error)
ScreenshotWithContext submits a request with context to the url2png service, returning a stream of the PNG data, or an error.
Click to show internal directories.
Click to hide internal directories.