vcstatus

package
v0.1.3 Latest Latest
Warning

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

Go to latest
Published: Sep 15, 2021 License: Apache-2.0 Imports: 8 Imported by: 0

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 is db implementation of vc status store.

func New

func New(provider storage.Provider) (*Store, error)

New creates new vc status store.

func (*Store) AddStatus

func (s *Store) AddStatus(vcID string, status proof.VCStatus) error

AddStatus adds verifiable credential proof collecting status.

func (*Store) GetStatus

func (s *Store) GetStatus(vcID string) (proof.VCStatus, error)

GetStatus retrieves proof collection status for the given verifiable credential.

Jump to

Keyboard shortcuts

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