a

package
v0.6.19 Latest Latest
Warning

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

Go to latest
Published: Jan 25, 2025 License: GPL-3.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

View Source
const (
	AttributeId   = "id"
	AttributeHref = "href"
)
View Source
const (
	ErrDomNodeIsNotFound       = "DOM node is not found"
	ErrTrWithIdIsNotFound      = "<tr> with ID is not found"
	ErrAWithIdIsNotFound       = "<a> with ID is not found"
	ErrNoNumberInId            = "no number in ID: %v"
	ErrIdAttributeIsNotFound   = "ID attribute is not found"
	ErrHrefAttributeIsNotFound = "href attribute is not found"
	ErrTopicIdMismatch         = "topic ID mismatch: %v vs %v"
	ErrHrefMismatch            = "href mismatch: %v vs %v"
	ErrNoPageNumbers           = "no page numbers"
	ErrCsvSyntax               = "CSV syntax error: %v"
	ErrUnsupportedEncoding     = "unsupported encoding: %v"
)
View Source
const (
	PageNumberAllPages = 0
	TagWbr             = `<wbr/>`
)

Variables

This section is empty.

Functions

This section is empty.

Types

type App

type App struct {
	// Settings.
	CLIArgs  *cli.Arguments
	Settings *models.Settings

	// Internal Structures.
	Db *db.DB

	// Various Data.
	Forums []*models.Forum
}

func NewApp

func NewApp(cliArgs *cli.Arguments) (app *App, err error)

func (*App) Close

func (a *App) Close() (err error)

Jump to

Keyboard shortcuts

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