siteannotator

package
v0.5.8 Latest Latest
Warning

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

Go to latest
Published: May 16, 2024 License: Apache-2.0 Imports: 9 Imported by: 1

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, []net.IP)

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