renderer

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: 13 Imported by: 1

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

func CreatePdf

func CreatePdf(ctx context.Context, params ChromeParameters) ([]byte, []byte, error)

Types

type ChromeParameters added in v0.1.11

type ChromeParameters struct {
	TargetUrl       string
	Headers         map[string]string
	Orientation     string
	PrintBackground bool
	MarginTop       float64
	MarginRight     float64
	MarginBottom    float64
	MarginLeft      float64
}

Jump to

Keyboard shortcuts

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