Documentation
¶
Index ¶
Constants ¶
View Source
const DefaultPropertiesFile = "mods/webpages-properties.json"
Variables ¶
This section is empty.
Functions ¶
Types ¶
type URLProperties ¶
type URLProperties struct {
Path string
// this file is merged with global css rules and passed to wkhtmltopdf
CssOverrideFile string
// these options are passed to the wkhtmltopdf object
// could be used for overriding default ones in this repository
ObjectOptions *json.RawMessage
// these options are passed to the wkhtmltopdf converter
// could be used for overriding default ones in this repository
ConverterOptions *json.RawMessage
}
func SetURLProperties ¶
func SetURLProperties(url string) (properties *URLProperties, err error)
Click to show internal directories.
Click to hide internal directories.