Help us shape the future of Go! Take the 2026 Go Developer Survey

nodeapi

package
v0.0.12 Latest Latest
Warning

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

Go to latest
Published: Jul 18, 2025 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ClientProvider

type ClientProvider interface {
	New(host string) (NodeClient, error)
}

func NewNodeClientProvider

func NewNodeClientProvider() ClientProvider

type NodeClient

type NodeClient interface {
	RegisterIssuer(
		ctx context.Context,
		issuer *issuertypes.Issuer,
		proof *vctypes.Proof,
	) error
	GenerateID(
		ctx context.Context,
		issuer *issuertypes.Issuer,
		proof *vctypes.Proof,
	) (*idtypes.ResolverMetadata, error)
	PublishVerifiableCredential(
		vc *vctypes.EnvelopedCredential,
		proof *vctypes.Proof,
	) error
	ResolveMetadataByID(
		ctx context.Context,
		id string,
	) (*idtypes.ResolverMetadata, error)
}

func NewNodeClient

func NewNodeClient(host string) (NodeClient, error)

Jump to

Keyboard shortcuts

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