Documentation
¶
Overview ¶
**************************************************************************
- COPYRIGHT (C) 2018, Rapid7 LLC, Boston, MA, USA.
- This code is licensed under MIT license (see LICENSE for details) *************************************************************************
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GeneratePdfRequest ¶
type GeneratePdfRequest struct {
CorrelationId string `json:"correlationId"`
FileName string `json:"fileName,omitempty"`
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 PdfRendererWebServer ¶
type PdfRendererWebServer struct {
Port int
// contains filtered or unexported fields
}
func (*PdfRendererWebServer) Start ¶
func (ws *PdfRendererWebServer) Start()
Click to show internal directories.
Click to hide internal directories.