Documentation ¶
Overview ¶
Package mock is a generated GoMock package.
Index ¶
- type MockIdentityClient
- func (m *MockIdentityClient) EXPECT() *MockIdentityClientMockRecorder
- func (m *MockIdentityClient) Generate(params *params.GenerateIdentityParams) (*model.DidDocument, *crypto.KeyPairs, error)
- func (m *MockIdentityClient) Recover(p *params.RecoverIdentityParams) (*model.DidDocument, *crypto.KeyPairs, error)
- func (m *MockIdentityClient) Register(p *params.RegisterIdentityParams) error
- func (m *MockIdentityClient) Revoke(p *params.RevocationIdentityParams) error
- type MockIdentityClientMockRecorder
- func (mr *MockIdentityClientMockRecorder) Generate(params interface{}) *gomock.Call
- func (mr *MockIdentityClientMockRecorder) Recover(p interface{}) *gomock.Call
- func (mr *MockIdentityClientMockRecorder) Register(p interface{}) *gomock.Call
- func (mr *MockIdentityClientMockRecorder) Revoke(p interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockIdentityClient ¶
type MockIdentityClient struct {
// contains filtered or unexported fields
}
MockIdentityClient is a mock of IdentityClient interface.
func NewMockIdentityClient ¶
func NewMockIdentityClient(ctrl *gomock.Controller) *MockIdentityClient
NewMockIdentityClient creates a new mock instance.
func (*MockIdentityClient) EXPECT ¶
func (m *MockIdentityClient) EXPECT() *MockIdentityClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockIdentityClient) Generate ¶ added in v0.1.7
func (m *MockIdentityClient) Generate(params *params.GenerateIdentityParams) (*model.DidDocument, *crypto.KeyPairs, error)
Generate mocks base method.
func (*MockIdentityClient) Recover ¶ added in v0.1.8
func (m *MockIdentityClient) Recover(p *params.RecoverIdentityParams) (*model.DidDocument, *crypto.KeyPairs, error)
Recover mocks base method.
func (*MockIdentityClient) Register ¶ added in v0.1.7
func (m *MockIdentityClient) Register(p *params.RegisterIdentityParams) error
Register mocks base method.
func (*MockIdentityClient) Revoke ¶ added in v0.1.26
func (m *MockIdentityClient) Revoke(p *params.RevocationIdentityParams) error
Revoke mocks base method.
type MockIdentityClientMockRecorder ¶
type MockIdentityClientMockRecorder struct {
// contains filtered or unexported fields
}
MockIdentityClientMockRecorder is the mock recorder for MockIdentityClient.
func (*MockIdentityClientMockRecorder) Generate ¶ added in v0.1.7
func (mr *MockIdentityClientMockRecorder) Generate(params interface{}) *gomock.Call
Generate indicates an expected call of Generate.
func (*MockIdentityClientMockRecorder) Recover ¶ added in v0.1.8
func (mr *MockIdentityClientMockRecorder) Recover(p interface{}) *gomock.Call
Recover indicates an expected call of Recover.
func (*MockIdentityClientMockRecorder) Register ¶ added in v0.1.7
func (mr *MockIdentityClientMockRecorder) Register(p interface{}) *gomock.Call
Register indicates an expected call of Register.
func (*MockIdentityClientMockRecorder) Revoke ¶ added in v0.1.26
func (mr *MockIdentityClientMockRecorder) Revoke(p interface{}) *gomock.Call
Revoke indicates an expected call of Revoke.
Click to show internal directories.
Click to hide internal directories.