pages

package
v0.0.0-...-994f8ce Latest Latest
Warning

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

Go to latest
Published: Feb 7, 2019 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CalcPageId

func CalcPageId(srcUrl url.URL) (id string, normalizedUrl url.URL)

Types

type Page

type Page struct {
	Id       string
	URL      url.URL
	OutPages PageGroup
	OutLinks map[string]links.Link
	Err      error
}

func PageFromUrl

func PageFromUrl(srcUrl url.URL) Page

func (Page) MarshalJSON

func (page Page) MarshalJSON() ([]byte, error)

func (*Page) Print

func (page *Page) Print()

type PageGroup

type PageGroup struct {
	Internal map[string]string `json:"internal"`
}

Jump to

Keyboard shortcuts

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