governance

package
v0.1.5 Latest Latest
Warning

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

Go to latest
Published: Dec 8, 2020 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockProvider

type MockProvider struct {
	IssueCredentialFunc func(didID, profileID string) ([]byte, error)
	GetCredentialFunc   func(profileID string) ([]byte, error)
}

MockProvider is a mock used in tests.

func (*MockProvider) GetCredential

func (s *MockProvider) GetCredential(profileID string) ([]byte, error)

GetCredential get credential.

func (*MockProvider) IssueCredential

func (s *MockProvider) IssueCredential(didID, profileID string) ([]byte, error)

IssueCredential issue credential.

Jump to

Keyboard shortcuts

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