Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Graph ¶
type Graph struct {
*Providers
}
Graph manages anchor graph.
func (*Graph) Add ¶
Add adds an anchor to the anchor graph. Returns hl that contains anchor information.
func (*Graph) GetDidAnchors ¶
GetDidAnchors returns all anchors that are referencing did suffix starting from hl.
type Providers ¶
type Providers struct {
CasWriter casWriter
CasResolver casResolver
DocLoader ld.DocumentLoader
}
Providers for anchor graph.
Click to show internal directories.
Click to hide internal directories.