Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type HTMLRequest ¶
type HTMLRequest struct {
Content string `json:"content"`
Scale float64 `json:"scale"`
Paper *PaperSize `json:"paper"`
Margin *Margin `json:"margin"`
Background *bool `json:"background"`
PageRanges string `json:"pageRanges"`
Header string `json:"header"`
CSSPageSize bool `json:"cssPageSize"`
Landscape bool `json:"landscape"`
Wait *int `json:"wait"`
}
type Margin ¶
type Margin struct {
Top float64 `json:"top"`
Right float64 `json:"right"`
Bottom float64 `json:"bottom"`
Left float64 `json:"left"`
}
func (*Margin) UnmarshalJSON ¶
func (*Margin) UnmarshalJSONFloat64 ¶
func (*Margin) UnmarshalJSONStruct ¶
Click to show internal directories.
Click to hide internal directories.