mocks

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Jan 28, 2021 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Oracle

type Oracle struct {
	mock.Mock
}

Oracle is an autogenerated mock type for the Oracle type

func (*Oracle) NewNonce

func (_m *Oracle) NewNonce() (string, error)

NewNonce provides a mock function with given fields:

type VDRClient

type VDRClient struct {
	mock.Mock
}

VDRClient is an autogenerated mock type for the VDRClient type

func (*VDRClient) CreateClaimDef

func (_m *VDRClient) CreateClaimDef(from string, ref uint32, pubKey map[string]interface{}, revocation map[string]interface{}, signer vdr.Signer) (string, error)

CreateClaimDef provides a mock function with given fields: from, ref, pubKey, revocation, signer

func (*VDRClient) CreateNym

func (_m *VDRClient) CreateNym(did string, verkey string, role string, from string, signer vdr.Signer) error

CreateNym provides a mock function with given fields: did, verkey, role, from, signer

func (*VDRClient) CreateSchema

func (_m *VDRClient) CreateSchema(issuerDID string, name string, version string, attrs []string, signer vdr.Signer) (string, error)

CreateSchema provides a mock function with given fields: issuerDID, name, version, attrs, signer

func (*VDRClient) GetCredDef

func (_m *VDRClient) GetCredDef(credDefID string) (*vdr.ReadReply, error)

GetCredDef provides a mock function with given fields: credDefID

func (*VDRClient) GetNym

func (_m *VDRClient) GetNym(did string) (*vdr.ReadReply, error)

GetNym provides a mock function with given fields: did

func (*VDRClient) GetSchema

func (_m *VDRClient) GetSchema(schemaID string) (*vdr.ReadReply, error)

GetSchema provides a mock function with given fields: schemaID

func (*VDRClient) SetEndpoint

func (_m *VDRClient) SetEndpoint(did string, from string, ep string, signer vdr.Signer) error

SetEndpoint provides a mock function with given fields: did, from, ep, signer

Jump to

Keyboard shortcuts

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