analyzers

package
v0.0.0-...-b89552a Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 28, 2023 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DIDDocumentGraphAnalyzer

type DIDDocumentGraphAnalyzer struct {
	VDR     *vdrAPI.Client
	Network *networkAPI.Client
}

func (DIDDocumentGraphAnalyzer) Analyze

func (a DIDDocumentGraphAnalyzer) Analyze(ctx context.Context, didOrTXs []string) (string, error)

Analyze renders a dotviz diagram of the DID, which contains all relevant transactions. You can specify multiple DIDs and/or transaction references (these need to be DID documents, however). Limitations: - It does not take into account controllers-of-controllers (only the first level is analyzed)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL