db

package
v0.0.0-...-bc4c757 Latest Latest
Warning

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

Go to latest
Published: Apr 26, 2023 License: GPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type UrlInfo

type UrlInfo struct {
	Url               string
	UrlId             int64
	UrlRank           float64
	HostRank          float64
	ContentId         int64
	ContentTitle      string
	Contents          []byte
	ContentsText      string
	ContentType       string
	ContentTypeArgs   string
	ContentLang       string
	ContentKind       string
	InternalLinks     []gparse.Link
	ExternalLinks     []gparse.Link
	InternalBacklinks []gparse.Link
	ExternalBacklinks []gparse.Link
}

func QueryUrl

func QueryUrl(db *sql.DB, urlStr string, substr bool) (info UrlInfo, err error)

Jump to

Keyboard shortcuts

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