vcissuancehistorystore

package
v1.8.1 Latest Latest
Warning

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

Go to latest
Published: Apr 10, 2024 License: Apache-2.0 Imports: 9 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Store

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

Store manages verifiable.TypedID in MongoDB.

func NewStore

func NewStore(mongoClient *mongodb.Client) *Store

NewStore creates Store.

func (*Store) GetIssuedCredentialsMetadata

func (p *Store) GetIssuedCredentialsMetadata(
	ctx context.Context,
	profileID string,
) ([]*credentialstatus.CredentialMetadata, error)

func (*Store) Put

func (p *Store) Put(
	ctx context.Context,
	profileID string,
	profileVersion string,
	metadata *credentialstatus.CredentialMetadata) error

Jump to

Keyboard shortcuts

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