Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AnchorEventHandler ¶ added in v1.0.0
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 ¶ added in v1.0.0
func (h *AnchorEventHandler) HandleAnchorEvent(ctx context.Context, actor, anchorRef, source *url.URL, anchorEvent *vocab.AnchorEventType, ) error
HandleAnchorEvent handles an anchor event.
Click to show internal directories.
Click to hide internal directories.