web

package
v0.1.17 Latest Latest
Warning

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

Go to latest
Published: Feb 24, 2021 License: MIT Imports: 14 Imported by: 0

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()

Jump to

Keyboard shortcuts

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