siteannotator

package
v0.4.3 Latest Latest
Warning

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

Go to latest
Published: May 5, 2020 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrHostnameNotFound = errors.New("Hostname Not Found")

ErrHostnameNotFound is generated when the given hostname cannot be found in the downloaded siteinfo annotations.

Functions

func New

func New(ctx context.Context, hostname string, js content.Provider, localIPs []net.IP) annotator.Annotator

New makes a new server Annotator using metadata from siteinfo JSON.

Types

This section is empty.

Jump to

Keyboard shortcuts

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