Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AnchorCredentialHandler ¶
type AnchorCredentialHandler struct {
// contains filtered or unexported fields
}
AnchorCredentialHandler handles a new, published anchor credential.
func New ¶
func New(anchorPublisher anchorPublisher, casResolver casResolver, documentLoader ld.DocumentLoader, monitoringSvc monitoringSvc, maxDelay time.Duration) *AnchorCredentialHandler
New creates new credential handler.
func (*AnchorCredentialHandler) HandleAnchorCredential ¶
func (h *AnchorCredentialHandler) HandleAnchorCredential(actor, id *url.URL, hl string, anchorCred []byte) error
HandleAnchorCredential handles anchor credential.
Click to show internal directories.
Click to hide internal directories.