Documentation ¶
Overview ¶
Package mock_proto is a generated GoMock package.
Index ¶
- type MockAccountServiceClient
- func (m *MockAccountServiceClient) Accounts(ctx context.Context, in *proto.AccountsRequest, opts ...grpc.CallOption) (*proto.AccountsResponse, error)
- func (m *MockAccountServiceClient) Close(ctx context.Context, in *proto.CloseRequest, opts ...grpc.CallOption) (*proto.CloseResponse, error)
- func (m *MockAccountServiceClient) Contains(ctx context.Context, in *proto.ContainsRequest, opts ...grpc.CallOption) (*proto.ContainsResponse, error)
- func (m *MockAccountServiceClient) EXPECT() *MockAccountServiceClientMockRecorder
- func (m *MockAccountServiceClient) ImportRawKey(ctx context.Context, in *proto.ImportRawKeyRequest, opts ...grpc.CallOption) (*proto.ImportRawKeyResponse, error)
- func (m *MockAccountServiceClient) Lock(ctx context.Context, in *proto.LockRequest, opts ...grpc.CallOption) (*proto.LockResponse, error)
- func (m *MockAccountServiceClient) NewAccount(ctx context.Context, in *proto.NewAccountRequest, opts ...grpc.CallOption) (*proto.NewAccountResponse, error)
- func (m *MockAccountServiceClient) Open(ctx context.Context, in *proto.OpenRequest, opts ...grpc.CallOption) (*proto.OpenResponse, error)
- func (m *MockAccountServiceClient) Sign(ctx context.Context, in *proto.SignRequest, opts ...grpc.CallOption) (*proto.SignResponse, error)
- func (m *MockAccountServiceClient) Status(ctx context.Context, in *proto.StatusRequest, opts ...grpc.CallOption) (*proto.StatusResponse, error)
- func (m *MockAccountServiceClient) TimedUnlock(ctx context.Context, in *proto.TimedUnlockRequest, opts ...grpc.CallOption) (*proto.TimedUnlockResponse, error)
- func (m *MockAccountServiceClient) UnlockAndSign(ctx context.Context, in *proto.UnlockAndSignRequest, opts ...grpc.CallOption) (*proto.SignResponse, error)
- type MockAccountServiceClientMockRecorder
- func (mr *MockAccountServiceClientMockRecorder) Accounts(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockAccountServiceClientMockRecorder) Close(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockAccountServiceClientMockRecorder) Contains(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockAccountServiceClientMockRecorder) ImportRawKey(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockAccountServiceClientMockRecorder) Lock(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockAccountServiceClientMockRecorder) NewAccount(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockAccountServiceClientMockRecorder) Open(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockAccountServiceClientMockRecorder) Sign(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockAccountServiceClientMockRecorder) Status(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockAccountServiceClientMockRecorder) TimedUnlock(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockAccountServiceClientMockRecorder) UnlockAndSign(ctx, in interface{}, opts ...interface{}) *gomock.Call
- type MockAccountServiceServer
- func (m *MockAccountServiceServer) Accounts(arg0 context.Context, arg1 *proto.AccountsRequest) (*proto.AccountsResponse, error)
- func (m *MockAccountServiceServer) Close(arg0 context.Context, arg1 *proto.CloseRequest) (*proto.CloseResponse, error)
- func (m *MockAccountServiceServer) Contains(arg0 context.Context, arg1 *proto.ContainsRequest) (*proto.ContainsResponse, error)
- func (m *MockAccountServiceServer) EXPECT() *MockAccountServiceServerMockRecorder
- func (m *MockAccountServiceServer) ImportRawKey(arg0 context.Context, arg1 *proto.ImportRawKeyRequest) (*proto.ImportRawKeyResponse, error)
- func (m *MockAccountServiceServer) Lock(arg0 context.Context, arg1 *proto.LockRequest) (*proto.LockResponse, error)
- func (m *MockAccountServiceServer) NewAccount(arg0 context.Context, arg1 *proto.NewAccountRequest) (*proto.NewAccountResponse, error)
- func (m *MockAccountServiceServer) Open(arg0 context.Context, arg1 *proto.OpenRequest) (*proto.OpenResponse, error)
- func (m *MockAccountServiceServer) Sign(arg0 context.Context, arg1 *proto.SignRequest) (*proto.SignResponse, error)
- func (m *MockAccountServiceServer) Status(arg0 context.Context, arg1 *proto.StatusRequest) (*proto.StatusResponse, error)
- func (m *MockAccountServiceServer) TimedUnlock(arg0 context.Context, arg1 *proto.TimedUnlockRequest) (*proto.TimedUnlockResponse, error)
- func (m *MockAccountServiceServer) UnlockAndSign(arg0 context.Context, arg1 *proto.UnlockAndSignRequest) (*proto.SignResponse, error)
- type MockAccountServiceServerMockRecorder
- func (mr *MockAccountServiceServerMockRecorder) Accounts(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockAccountServiceServerMockRecorder) Close(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockAccountServiceServerMockRecorder) Contains(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockAccountServiceServerMockRecorder) ImportRawKey(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockAccountServiceServerMockRecorder) Lock(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockAccountServiceServerMockRecorder) NewAccount(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockAccountServiceServerMockRecorder) Open(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockAccountServiceServerMockRecorder) Sign(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockAccountServiceServerMockRecorder) Status(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockAccountServiceServerMockRecorder) TimedUnlock(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockAccountServiceServerMockRecorder) UnlockAndSign(arg0, arg1 interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockAccountServiceClient ¶
type MockAccountServiceClient struct {
// contains filtered or unexported fields
}
MockAccountServiceClient is a mock of AccountServiceClient interface.
func NewMockAccountServiceClient ¶
func NewMockAccountServiceClient(ctrl *gomock.Controller) *MockAccountServiceClient
NewMockAccountServiceClient creates a new mock instance.
func (*MockAccountServiceClient) Accounts ¶
func (m *MockAccountServiceClient) Accounts(ctx context.Context, in *proto.AccountsRequest, opts ...grpc.CallOption) (*proto.AccountsResponse, error)
Accounts mocks base method.
func (*MockAccountServiceClient) Close ¶
func (m *MockAccountServiceClient) Close(ctx context.Context, in *proto.CloseRequest, opts ...grpc.CallOption) (*proto.CloseResponse, error)
Close mocks base method.
func (*MockAccountServiceClient) Contains ¶
func (m *MockAccountServiceClient) Contains(ctx context.Context, in *proto.ContainsRequest, opts ...grpc.CallOption) (*proto.ContainsResponse, error)
Contains mocks base method.
func (*MockAccountServiceClient) EXPECT ¶
func (m *MockAccountServiceClient) EXPECT() *MockAccountServiceClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockAccountServiceClient) ImportRawKey ¶
func (m *MockAccountServiceClient) ImportRawKey(ctx context.Context, in *proto.ImportRawKeyRequest, opts ...grpc.CallOption) (*proto.ImportRawKeyResponse, error)
ImportRawKey mocks base method.
func (*MockAccountServiceClient) Lock ¶
func (m *MockAccountServiceClient) Lock(ctx context.Context, in *proto.LockRequest, opts ...grpc.CallOption) (*proto.LockResponse, error)
Lock mocks base method.
func (*MockAccountServiceClient) NewAccount ¶
func (m *MockAccountServiceClient) NewAccount(ctx context.Context, in *proto.NewAccountRequest, opts ...grpc.CallOption) (*proto.NewAccountResponse, error)
NewAccount mocks base method.
func (*MockAccountServiceClient) Open ¶
func (m *MockAccountServiceClient) Open(ctx context.Context, in *proto.OpenRequest, opts ...grpc.CallOption) (*proto.OpenResponse, error)
Open mocks base method.
func (*MockAccountServiceClient) Sign ¶
func (m *MockAccountServiceClient) Sign(ctx context.Context, in *proto.SignRequest, opts ...grpc.CallOption) (*proto.SignResponse, error)
Sign mocks base method.
func (*MockAccountServiceClient) Status ¶
func (m *MockAccountServiceClient) Status(ctx context.Context, in *proto.StatusRequest, opts ...grpc.CallOption) (*proto.StatusResponse, error)
Status mocks base method.
func (*MockAccountServiceClient) TimedUnlock ¶
func (m *MockAccountServiceClient) TimedUnlock(ctx context.Context, in *proto.TimedUnlockRequest, opts ...grpc.CallOption) (*proto.TimedUnlockResponse, error)
TimedUnlock mocks base method.
func (*MockAccountServiceClient) UnlockAndSign ¶
func (m *MockAccountServiceClient) UnlockAndSign(ctx context.Context, in *proto.UnlockAndSignRequest, opts ...grpc.CallOption) (*proto.SignResponse, error)
UnlockAndSign mocks base method.
type MockAccountServiceClientMockRecorder ¶
type MockAccountServiceClientMockRecorder struct {
// contains filtered or unexported fields
}
MockAccountServiceClientMockRecorder is the mock recorder for MockAccountServiceClient.
func (*MockAccountServiceClientMockRecorder) Accounts ¶
func (mr *MockAccountServiceClientMockRecorder) Accounts(ctx, in interface{}, opts ...interface{}) *gomock.Call
Accounts indicates an expected call of Accounts.
func (*MockAccountServiceClientMockRecorder) Close ¶
func (mr *MockAccountServiceClientMockRecorder) Close(ctx, in interface{}, opts ...interface{}) *gomock.Call
Close indicates an expected call of Close.
func (*MockAccountServiceClientMockRecorder) Contains ¶
func (mr *MockAccountServiceClientMockRecorder) Contains(ctx, in interface{}, opts ...interface{}) *gomock.Call
Contains indicates an expected call of Contains.
func (*MockAccountServiceClientMockRecorder) ImportRawKey ¶
func (mr *MockAccountServiceClientMockRecorder) ImportRawKey(ctx, in interface{}, opts ...interface{}) *gomock.Call
ImportRawKey indicates an expected call of ImportRawKey.
func (*MockAccountServiceClientMockRecorder) Lock ¶
func (mr *MockAccountServiceClientMockRecorder) Lock(ctx, in interface{}, opts ...interface{}) *gomock.Call
Lock indicates an expected call of Lock.
func (*MockAccountServiceClientMockRecorder) NewAccount ¶
func (mr *MockAccountServiceClientMockRecorder) NewAccount(ctx, in interface{}, opts ...interface{}) *gomock.Call
NewAccount indicates an expected call of NewAccount.
func (*MockAccountServiceClientMockRecorder) Open ¶
func (mr *MockAccountServiceClientMockRecorder) Open(ctx, in interface{}, opts ...interface{}) *gomock.Call
Open indicates an expected call of Open.
func (*MockAccountServiceClientMockRecorder) Sign ¶
func (mr *MockAccountServiceClientMockRecorder) Sign(ctx, in interface{}, opts ...interface{}) *gomock.Call
Sign indicates an expected call of Sign.
func (*MockAccountServiceClientMockRecorder) Status ¶
func (mr *MockAccountServiceClientMockRecorder) Status(ctx, in interface{}, opts ...interface{}) *gomock.Call
Status indicates an expected call of Status.
func (*MockAccountServiceClientMockRecorder) TimedUnlock ¶
func (mr *MockAccountServiceClientMockRecorder) TimedUnlock(ctx, in interface{}, opts ...interface{}) *gomock.Call
TimedUnlock indicates an expected call of TimedUnlock.
func (*MockAccountServiceClientMockRecorder) UnlockAndSign ¶
func (mr *MockAccountServiceClientMockRecorder) UnlockAndSign(ctx, in interface{}, opts ...interface{}) *gomock.Call
UnlockAndSign indicates an expected call of UnlockAndSign.
type MockAccountServiceServer ¶
type MockAccountServiceServer struct {
// contains filtered or unexported fields
}
MockAccountServiceServer is a mock of AccountServiceServer interface.
func NewMockAccountServiceServer ¶
func NewMockAccountServiceServer(ctrl *gomock.Controller) *MockAccountServiceServer
NewMockAccountServiceServer creates a new mock instance.
func (*MockAccountServiceServer) Accounts ¶
func (m *MockAccountServiceServer) Accounts(arg0 context.Context, arg1 *proto.AccountsRequest) (*proto.AccountsResponse, error)
Accounts mocks base method.
func (*MockAccountServiceServer) Close ¶
func (m *MockAccountServiceServer) Close(arg0 context.Context, arg1 *proto.CloseRequest) (*proto.CloseResponse, error)
Close mocks base method.
func (*MockAccountServiceServer) Contains ¶
func (m *MockAccountServiceServer) Contains(arg0 context.Context, arg1 *proto.ContainsRequest) (*proto.ContainsResponse, error)
Contains mocks base method.
func (*MockAccountServiceServer) EXPECT ¶
func (m *MockAccountServiceServer) EXPECT() *MockAccountServiceServerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockAccountServiceServer) ImportRawKey ¶
func (m *MockAccountServiceServer) ImportRawKey(arg0 context.Context, arg1 *proto.ImportRawKeyRequest) (*proto.ImportRawKeyResponse, error)
ImportRawKey mocks base method.
func (*MockAccountServiceServer) Lock ¶
func (m *MockAccountServiceServer) Lock(arg0 context.Context, arg1 *proto.LockRequest) (*proto.LockResponse, error)
Lock mocks base method.
func (*MockAccountServiceServer) NewAccount ¶
func (m *MockAccountServiceServer) NewAccount(arg0 context.Context, arg1 *proto.NewAccountRequest) (*proto.NewAccountResponse, error)
NewAccount mocks base method.
func (*MockAccountServiceServer) Open ¶
func (m *MockAccountServiceServer) Open(arg0 context.Context, arg1 *proto.OpenRequest) (*proto.OpenResponse, error)
Open mocks base method.
func (*MockAccountServiceServer) Sign ¶
func (m *MockAccountServiceServer) Sign(arg0 context.Context, arg1 *proto.SignRequest) (*proto.SignResponse, error)
Sign mocks base method.
func (*MockAccountServiceServer) Status ¶
func (m *MockAccountServiceServer) Status(arg0 context.Context, arg1 *proto.StatusRequest) (*proto.StatusResponse, error)
Status mocks base method.
func (*MockAccountServiceServer) TimedUnlock ¶
func (m *MockAccountServiceServer) TimedUnlock(arg0 context.Context, arg1 *proto.TimedUnlockRequest) (*proto.TimedUnlockResponse, error)
TimedUnlock mocks base method.
func (*MockAccountServiceServer) UnlockAndSign ¶
func (m *MockAccountServiceServer) UnlockAndSign(arg0 context.Context, arg1 *proto.UnlockAndSignRequest) (*proto.SignResponse, error)
UnlockAndSign mocks base method.
type MockAccountServiceServerMockRecorder ¶
type MockAccountServiceServerMockRecorder struct {
// contains filtered or unexported fields
}
MockAccountServiceServerMockRecorder is the mock recorder for MockAccountServiceServer.
func (*MockAccountServiceServerMockRecorder) Accounts ¶
func (mr *MockAccountServiceServerMockRecorder) Accounts(arg0, arg1 interface{}) *gomock.Call
Accounts indicates an expected call of Accounts.
func (*MockAccountServiceServerMockRecorder) Close ¶
func (mr *MockAccountServiceServerMockRecorder) Close(arg0, arg1 interface{}) *gomock.Call
Close indicates an expected call of Close.
func (*MockAccountServiceServerMockRecorder) Contains ¶
func (mr *MockAccountServiceServerMockRecorder) Contains(arg0, arg1 interface{}) *gomock.Call
Contains indicates an expected call of Contains.
func (*MockAccountServiceServerMockRecorder) ImportRawKey ¶
func (mr *MockAccountServiceServerMockRecorder) ImportRawKey(arg0, arg1 interface{}) *gomock.Call
ImportRawKey indicates an expected call of ImportRawKey.
func (*MockAccountServiceServerMockRecorder) Lock ¶
func (mr *MockAccountServiceServerMockRecorder) Lock(arg0, arg1 interface{}) *gomock.Call
Lock indicates an expected call of Lock.
func (*MockAccountServiceServerMockRecorder) NewAccount ¶
func (mr *MockAccountServiceServerMockRecorder) NewAccount(arg0, arg1 interface{}) *gomock.Call
NewAccount indicates an expected call of NewAccount.
func (*MockAccountServiceServerMockRecorder) Open ¶
func (mr *MockAccountServiceServerMockRecorder) Open(arg0, arg1 interface{}) *gomock.Call
Open indicates an expected call of Open.
func (*MockAccountServiceServerMockRecorder) Sign ¶
func (mr *MockAccountServiceServerMockRecorder) Sign(arg0, arg1 interface{}) *gomock.Call
Sign indicates an expected call of Sign.
func (*MockAccountServiceServerMockRecorder) Status ¶
func (mr *MockAccountServiceServerMockRecorder) Status(arg0, arg1 interface{}) *gomock.Call
Status indicates an expected call of Status.
func (*MockAccountServiceServerMockRecorder) TimedUnlock ¶
func (mr *MockAccountServiceServerMockRecorder) TimedUnlock(arg0, arg1 interface{}) *gomock.Call
TimedUnlock indicates an expected call of TimedUnlock.
func (*MockAccountServiceServerMockRecorder) UnlockAndSign ¶
func (mr *MockAccountServiceServerMockRecorder) UnlockAndSign(arg0, arg1 interface{}) *gomock.Call
UnlockAndSign indicates an expected call of UnlockAndSign.