Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrDataNotFound = errors.New("data not found")
ErrDataNotFound describes data not found error.
Functions ¶
This section is empty.
Types ¶
type DidAnchorInfo ¶
type DidAnchorInfo struct {
// contains filtered or unexported fields
}
DidAnchorInfo retrieves the latest anchor CID and anchor origin for this did (suffix).
func New ¶
func New(namespace string, didAnchors didAnchorProvider, opsProcessor operationProcessor) *DidAnchorInfo
New returns a new DidAnchorInfo.
func (*DidAnchorInfo) Accept ¶
func (h *DidAnchorInfo) Accept(did string) bool
Accept will accept/reject processing of this did(resource id).
func (*DidAnchorInfo) GetResourceInfo ¶
func (h *DidAnchorInfo) GetResourceInfo(did string) (registry.Metadata, error)
GetResourceInfo retrieves anchoring info for did(suffix).
Click to show internal directories.
Click to hide internal directories.