webresolver

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Jul 14, 2023 License: Apache-2.0 Imports: 11 Imported by: 1

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, orbPrefix, orbUnpublishedLabel string,
	resolver orbResolver, 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