webresolver

package
v1.0.2 Latest Latest
Warning

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

Go to latest
Published: Nov 7, 2022 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ResolveHandler

type ResolveHandler struct {
	// contains filtered or unexported fields
}

ResolveHandler resolves generic documents.

func NewResolveHandler

func NewResolveHandler(domains []*url.URL, oakPrefix, oakUnpublishedLabel string, resolver oakResolver,
	metrics metricsProvider) *ResolveHandler

NewResolveHandler returns a new document resolve handler.

func (*ResolveHandler) ResolveDocument

func (r *ResolveHandler) ResolveDocument(id string) (*document.ResolutionResult, error)

ResolveDocument resolves a document.

Directories

Path Synopsis
Code generated by counterfeiter.
Code generated by counterfeiter.

Jump to

Keyboard shortcuts

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