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 implements storage for verifiable credentials.
func (*Store) Get ¶
func (s *Store) Get(id string) (*verifiable.Credential, error)
Get retrieves verifiable credential by id.
func (*Store) Put ¶
func (s *Store) Put(vc *verifiable.Credential) error
Put saves a verifiable credential. If it it already exists it will be overwritten.
Click to show internal directories.
Click to hide internal directories.