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.
Click to show internal directories.
Click to hide internal directories.