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