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, monitoringSvc monitoringSvc, maxDelay time.Duration, anchorLinkStore anchorLinkStore) *AnchorEventHandler
New creates new credential handler.
func (*AnchorEventHandler) HandleAnchorEvent ¶ added in v1.0.0
func (h *AnchorEventHandler) HandleAnchorEvent(actor, anchorRef, source *url.URL, anchorEvent *vocab.AnchorEventType) error
HandleAnchorEvent handles an anchor event. nolint:funlen,gocyclo,cyclop
Click to show internal directories.
Click to hide internal directories.