lxPdf

package
v1.7.0 Latest Latest
Warning

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

Go to latest
Published: Sep 21, 2020 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MergeOptions

func MergeOptions(opts ...*options) *options

MergeOptions combines the argued options into a single options in a last-one-wins fashion

func PdfOptions

func PdfOptions() *options

Types

type IPdf

type IPdf interface {
	CreatePdf(template string, data map[string]interface{}, opts ...*options) ([]byte, error)
}

IPdf, interface for pdf service

func NewPdfService

func NewPdfService(serviceUrl, serviceKey, templateDir string) IPdf

Jump to

Keyboard shortcuts

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