credential

package
v1.0.0 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: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AnchorEventHandler

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

AnchorEventHandler handles a new, published anchor credential.

func New

func New(anchorPublisher anchorPublisher, casResolver casResolver,
	documentLoader ld.DocumentLoader,
	maxDelay time.Duration, anchorLinkStore anchorLinkStore,
	registry generatorRegistry) *AnchorEventHandler

New creates new credential handler.

func (*AnchorEventHandler) HandleAnchorEvent

func (h *AnchorEventHandler) HandleAnchorEvent(actor, anchorRef, source *url.URL,
	anchorEvent *vocab.AnchorEventType) error

HandleAnchorEvent handles an anchor event.

Jump to

Keyboard shortcuts

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