htmlparser

package
v0.0.0-...-14ecd30 Latest Latest
Warning

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

Go to latest
Published: Apr 25, 2024 License: AGPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const (
	HeaderNodeTag = "PdfHeader"
	FooterNodeTag = "PdfFooter"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type HtmlParser

type HtmlParser interface {
	Parse(document *string) error
	PopHeaderAndFooter() (header string, footer string)
	AddStyles(cssStyles *string)
	GetHtml() (*string, error)
}

func New

func New() HtmlParser

type HtmlParserGoQuery

type HtmlParserGoQuery struct {
	// contains filtered or unexported fields
}

func (*HtmlParserGoQuery) AddStyles

func (p *HtmlParserGoQuery) AddStyles(css *string)

func (*HtmlParserGoQuery) GetHtml

func (p *HtmlParserGoQuery) GetHtml() (*string, error)

func (*HtmlParserGoQuery) Parse

func (p *HtmlParserGoQuery) Parse(document *string) error

func (*HtmlParserGoQuery) PopHeaderAndFooter

func (p *HtmlParserGoQuery) PopHeaderAndFooter() (header string, footer string)

Jump to

Keyboard shortcuts

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