Documentation
¶
Overview ¶
**************************************************************************
- COPYRIGHT (C) 2018, Rapid7 LLC, Boston, MA, USA.
- All rights reserved. This material contains unpublished, copyrighted
- work including confidential and proprietary information of Rapid7. *************************************************************************
Index ¶
Constants ¶
View Source
const DEFAULT_PRINT_DEADLINE = "5m"
View Source
const DEFAULT_REQUEST_POLL_INTERVAL = "1s"
View Source
const DEFAULT_REQUEST_POLL_RETRIES = 10
Variables ¶
This section is empty.
Functions ¶
Types ¶
type GeneratePdfRequest ¶
type GeneratePdfRequest struct {
CorrelationId string `json:"correlationId"`
TargetUrl string `json:"targetUrl"`
Headers map[string]string `json:"headers,omitempty"`
Orientation string `json:"orientation"`
PrintBackground bool `json:"printBackground"`
MarginTop float64 `json:"marginTop"`
MarginRight float64 `json:"marginRight"`
MarginBottom float64 `json:"marginBottom"`
MarginLeft float64 `json:"marginLeft"`
}
func DefaultGeneratePdfRequest ¶
func DefaultGeneratePdfRequest() GeneratePdfRequest
type ResponseSummary ¶ added in v0.1.5
Click to show internal directories.
Click to hide internal directories.