testing

package
v0.0.11 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewFakeVCRepository

func NewFakeVCRepository() vccore.Repository

Types

type FakeVCRepository

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

func (*FakeVCRepository) Create

func (r *FakeVCRepository) Create(
	ctx context.Context,
	credential *vctypes.VerifiableCredential,
	resolverMetadataID string,
) (*vctypes.VerifiableCredential, error)

func (*FakeVCRepository) GetByID added in v0.0.6

func (*FakeVCRepository) GetByResolverMetadata

func (r *FakeVCRepository) GetByResolverMetadata(
	ctx context.Context,
	resolverMetadataID string,
) ([]*vctypes.VerifiableCredential, error)

func (*FakeVCRepository) GetWellKnown

func (r *FakeVCRepository) GetWellKnown(
	ctx context.Context,
	resolverMetadataID string,
) (*[]*vctypes.EnvelopedCredential, error)

func (*FakeVCRepository) Update added in v0.0.6

func (r *FakeVCRepository) Update(
	ctx context.Context,
	credential *vctypes.VerifiableCredential,
	resolverMetadataID string,
) (*vctypes.VerifiableCredential, error)

Jump to

Keyboard shortcuts

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