processors

package
v0.0.0-...-bd556f4 Latest Latest
Warning

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

Go to latest
Published: Dec 15, 2024 License: Apache-2.0 Imports: 5 Imported by: 1

README

Package cloudeng.io/file/content/processors

import cloudeng.io/file/content/processors

Package processor provides support for processing different content types.

Types

Type HTML
type HTML struct{}

HTML provides support for processing HTML documents.

Methods
func (ho HTML) Parse(rd io.Reader) (HTMLDoc, error)
Type HTMLDoc
type HTMLDoc struct {
	// contains filtered or unexported fields
}
Methods
func (ho HTMLDoc) HREFs(base string) ([]string, error)

HREFs returns the hrefs found in the provided HTML document.

func (ho HTMLDoc) Title() string

Documentation

Overview

Package processor provides support for processing different content types.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type HTML

type HTML struct{}

HTML provides support for processing HTML documents.

func (HTML) Parse

func (ho HTML) Parse(rd io.Reader) (HTMLDoc, error)

type HTMLDoc

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

func (HTMLDoc) HREFs

func (ho HTMLDoc) HREFs(base string) ([]string, error)

HREFs returns the hrefs found in the provided HTML document.

func (HTMLDoc) Title

func (ho HTMLDoc) Title() string

Jump to

Keyboard shortcuts

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