remoteresolver

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: 10 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Resolver

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

Resolver resolves document from remote server.

func New

func New(httpClient httpClient) *Resolver

New create new remote resolver.

func (*Resolver) ResolveDocumentFromResolutionEndpoints

func (rr *Resolver) ResolveDocumentFromResolutionEndpoints(ctx context.Context,
	id string, endpoints []string,
) (*document.ResolutionResult, error)

ResolveDocumentFromResolutionEndpoints resolved document from resolution endpoints.

Jump to

Keyboard shortcuts

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