webpage

package
v1.0.2 Latest Latest
Warning

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

Go to latest
Published: Dec 10, 2019 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ImageRequest

type ImageRequest struct {
	URL      string
	Language string
	TTL      int
	FullPage bool
	Retina   bool
	Width    int
	Height   int
	Delay    int
}

type ImageResponse

type ImageResponse struct {
	Image       string `json:"image"`
	Cached      bool   `json:"cached"`
	Took        int    `json:"took"`
	GeneratedAt string `json:"generated_at"`
}

type PDFRequest

type PDFRequest struct {
	URL         string
	Language    string
	TTL         int
	Size        string
	Width       int
	Height      int
	Orientation string
	Delay       int
}

type PDFResponse

type PDFResponse struct {
	PDF         string `json:"pdf"`
	Cached      bool   `json:"cached"`
	Took        int    `json:"took"`
	GeneratedAt string `json:"generated_at"`
}

Jump to

Keyboard shortcuts

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