gaiax

package
v0.0.0-...-f2ba1b1 Latest Latest
Warning

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

Go to latest
Published: Mar 21, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrorRegistry = errors.New("gaiax_registry_failed_to_answer_properly")

Functions

This section is empty.

Types

type GaiaXRegistryClient

type GaiaXRegistryClient struct {
	// contains filtered or unexported fields
}

func (*GaiaXRegistryClient) GetComplianceIssuers

func (rc *GaiaXRegistryClient) GetComplianceIssuers() ([]string, error)

TODO Could propably cache the response very generously as new issuers are not added often

type RegistryClient

type RegistryClient interface {
	// Get the list of DIDs of the trustable issuers
	GetComplianceIssuers() ([]string, error)
}

func InitGaiaXRegistryVerificationService

func InitGaiaXRegistryVerificationService(url string) RegistryClient

Jump to

Keyboard shortcuts

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