Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Generator ¶
type Generator interface { ID() *url.URL Namespace() string Version() uint64 CreateContentObject(payload *subject.Payload) (vocab.Document, error) CreatePayload(doc vocab.Document, coreIndexURI *url.URL, anchors []*url.URL) (*subject.Payload, error) ValidateAnchorCredential(vc *verifiable.Credential, originalContentBytes []byte) error }
Generator defines the operations of a content object generator.
Click to show internal directories.
Click to hide internal directories.