Documentation ¶
Overview ¶
Package mock_client is a generated GoMock package.
Index ¶
- type MockAuthServiceClient
- func (m *MockAuthServiceClient) EXPECT() *MockAuthServiceClientMockRecorder
- func (m *MockAuthServiceClient) GetAuthNonce(ctx context.Context, in *types.GetAuthNonceRequest, opts ...grpc.CallOption) (*types.GetAuthNonceResponse, error)
- func (m *MockAuthServiceClient) UpdateUserPublicKey(ctx context.Context, in *types.UpdateUserPublicKeyRequest, ...) (*types.UpdateUserPublicKeyResponse, error)
- func (m *MockAuthServiceClient) VerifyOffChainSignature(ctx context.Context, in *types.VerifyOffChainSignatureRequest, ...) (*types.VerifyOffChainSignatureResponse, error)
- type MockAuthServiceClientMockRecorder
- func (mr *MockAuthServiceClientMockRecorder) GetAuthNonce(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockAuthServiceClientMockRecorder) UpdateUserPublicKey(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockAuthServiceClientMockRecorder) VerifyOffChainSignature(ctx, in interface{}, opts ...interface{}) *gomock.Call
- type MockAuthServiceServer
- func (m *MockAuthServiceServer) EXPECT() *MockAuthServiceServerMockRecorder
- func (m *MockAuthServiceServer) GetAuthNonce(arg0 context.Context, arg1 *types.GetAuthNonceRequest) (*types.GetAuthNonceResponse, error)
- func (m *MockAuthServiceServer) UpdateUserPublicKey(arg0 context.Context, arg1 *types.UpdateUserPublicKeyRequest) (*types.UpdateUserPublicKeyResponse, error)
- func (m *MockAuthServiceServer) VerifyOffChainSignature(arg0 context.Context, arg1 *types.VerifyOffChainSignatureRequest) (*types.VerifyOffChainSignatureResponse, error)
- type MockAuthServiceServerMockRecorder
- func (mr *MockAuthServiceServerMockRecorder) GetAuthNonce(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockAuthServiceServerMockRecorder) UpdateUserPublicKey(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockAuthServiceServerMockRecorder) VerifyOffChainSignature(arg0, arg1 interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockAuthServiceClient ¶
type MockAuthServiceClient struct {
// contains filtered or unexported fields
}
MockAuthServiceClient is a mock of AuthServiceClient interface.
func NewMockAuthServiceClient ¶
func NewMockAuthServiceClient(ctrl *gomock.Controller) *MockAuthServiceClient
NewMockAuthServiceClient creates a new mock instance.
func (*MockAuthServiceClient) EXPECT ¶
func (m *MockAuthServiceClient) EXPECT() *MockAuthServiceClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockAuthServiceClient) GetAuthNonce ¶
func (m *MockAuthServiceClient) GetAuthNonce(ctx context.Context, in *types.GetAuthNonceRequest, opts ...grpc.CallOption) (*types.GetAuthNonceResponse, error)
GetAuthNonce mocks base method.
func (*MockAuthServiceClient) UpdateUserPublicKey ¶
func (m *MockAuthServiceClient) UpdateUserPublicKey(ctx context.Context, in *types.UpdateUserPublicKeyRequest, opts ...grpc.CallOption) (*types.UpdateUserPublicKeyResponse, error)
UpdateUserPublicKey mocks base method.
func (*MockAuthServiceClient) VerifyOffChainSignature ¶
func (m *MockAuthServiceClient) VerifyOffChainSignature(ctx context.Context, in *types.VerifyOffChainSignatureRequest, opts ...grpc.CallOption) (*types.VerifyOffChainSignatureResponse, error)
VerifyOffChainSignature mocks base method.
type MockAuthServiceClientMockRecorder ¶
type MockAuthServiceClientMockRecorder struct {
// contains filtered or unexported fields
}
MockAuthServiceClientMockRecorder is the mock recorder for MockAuthServiceClient.
func (*MockAuthServiceClientMockRecorder) GetAuthNonce ¶
func (mr *MockAuthServiceClientMockRecorder) GetAuthNonce(ctx, in interface{}, opts ...interface{}) *gomock.Call
GetAuthNonce indicates an expected call of GetAuthNonce.
func (*MockAuthServiceClientMockRecorder) UpdateUserPublicKey ¶
func (mr *MockAuthServiceClientMockRecorder) UpdateUserPublicKey(ctx, in interface{}, opts ...interface{}) *gomock.Call
UpdateUserPublicKey indicates an expected call of UpdateUserPublicKey.
func (*MockAuthServiceClientMockRecorder) VerifyOffChainSignature ¶
func (mr *MockAuthServiceClientMockRecorder) VerifyOffChainSignature(ctx, in interface{}, opts ...interface{}) *gomock.Call
VerifyOffChainSignature indicates an expected call of VerifyOffChainSignature.
type MockAuthServiceServer ¶
type MockAuthServiceServer struct {
// contains filtered or unexported fields
}
MockAuthServiceServer is a mock of AuthServiceServer interface.
func NewMockAuthServiceServer ¶
func NewMockAuthServiceServer(ctrl *gomock.Controller) *MockAuthServiceServer
NewMockAuthServiceServer creates a new mock instance.
func (*MockAuthServiceServer) EXPECT ¶
func (m *MockAuthServiceServer) EXPECT() *MockAuthServiceServerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockAuthServiceServer) GetAuthNonce ¶
func (m *MockAuthServiceServer) GetAuthNonce(arg0 context.Context, arg1 *types.GetAuthNonceRequest) (*types.GetAuthNonceResponse, error)
GetAuthNonce mocks base method.
func (*MockAuthServiceServer) UpdateUserPublicKey ¶
func (m *MockAuthServiceServer) UpdateUserPublicKey(arg0 context.Context, arg1 *types.UpdateUserPublicKeyRequest) (*types.UpdateUserPublicKeyResponse, error)
UpdateUserPublicKey mocks base method.
func (*MockAuthServiceServer) VerifyOffChainSignature ¶
func (m *MockAuthServiceServer) VerifyOffChainSignature(arg0 context.Context, arg1 *types.VerifyOffChainSignatureRequest) (*types.VerifyOffChainSignatureResponse, error)
VerifyOffChainSignature mocks base method.
type MockAuthServiceServerMockRecorder ¶
type MockAuthServiceServerMockRecorder struct {
// contains filtered or unexported fields
}
MockAuthServiceServerMockRecorder is the mock recorder for MockAuthServiceServer.
func (*MockAuthServiceServerMockRecorder) GetAuthNonce ¶
func (mr *MockAuthServiceServerMockRecorder) GetAuthNonce(arg0, arg1 interface{}) *gomock.Call
GetAuthNonce indicates an expected call of GetAuthNonce.
func (*MockAuthServiceServerMockRecorder) UpdateUserPublicKey ¶
func (mr *MockAuthServiceServerMockRecorder) UpdateUserPublicKey(arg0, arg1 interface{}) *gomock.Call
UpdateUserPublicKey indicates an expected call of UpdateUserPublicKey.
func (*MockAuthServiceServerMockRecorder) VerifyOffChainSignature ¶
func (mr *MockAuthServiceServerMockRecorder) VerifyOffChainSignature(arg0, arg1 interface{}) *gomock.Call
VerifyOffChainSignature indicates an expected call of VerifyOffChainSignature.