parse

package
v0.0.0-...-278ce41 Latest Latest
Warning

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

Go to latest
Published: Jan 28, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BaseParse

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

func (*BaseParse) HeaderSyn

func (p *BaseParse) HeaderSyn(headerReg string)

func (*BaseParse) ReadDocument

func (p *BaseParse) ReadDocument(_ []byte)

type CSSSelection

type CSSSelection struct {
	BaseParse
}

func (CSSSelection) ReadDocument

func (p CSSSelection) ReadDocument(body []byte)

type Parser

type Parser interface {
	ReadDocument(body []byte)
}

type RegexpParse

type RegexpParse struct {
	BaseParse
}

func (RegexpParse) ReadDocument

func (p RegexpParse) ReadDocument(body []byte)

type XPathParse

type XPathParse struct {
	BaseParse
}

func (XPathParse) ReadDocument

func (p XPathParse) ReadDocument(body []byte)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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