Documentation ¶
Overview ¶
Package messaging_mock is a generated GoMock package.
Index ¶
- type MockMessagingAPIServiceClient
- func (m *MockMessagingAPIServiceClient) AddUserContacts(ctx context.Context, in *v1.AddUserContactsRequest, opts ...grpc.CallOption) (*v1.AddUserContactsResponse, error)
- func (m *MockMessagingAPIServiceClient) DeleteContacts(ctx context.Context, in *v1.DeleteContactsRequest, opts ...grpc.CallOption) (*v1.DeleteContactsResponse, error)
- func (m *MockMessagingAPIServiceClient) EXPECT() *MockMessagingAPIServiceClientMockRecorder
- func (m *MockMessagingAPIServiceClient) GetContactById(ctx context.Context, in *v1.GetContactByIdRequest, opts ...grpc.CallOption) (*v1.GetContactByIdResponse, error)
- func (m *MockMessagingAPIServiceClient) GetUserContacts(ctx context.Context, in *v1.GetUserContactsRequest, opts ...grpc.CallOption) (*v1.GetUserContactsResponse, error)
- func (m *MockMessagingAPIServiceClient) NotifyAll(ctx context.Context, in *v1.NotifyAllRequest, opts ...grpc.CallOption) (*v1.NotifyAllResponse, error)
- func (m *MockMessagingAPIServiceClient) NotifyContact(ctx context.Context, in *v1.NotifyContactRequest, opts ...grpc.CallOption) (*v1.NotifyContactResponse, error)
- func (m *MockMessagingAPIServiceClient) SendEmail(ctx context.Context, in *v1.SendEmailRequest, opts ...grpc.CallOption) (*v1.SendEmailResponse, error)
- func (m *MockMessagingAPIServiceClient) SendSMS(ctx context.Context, in *v1.SendSMSRequest, opts ...grpc.CallOption) (*v1.SendSMSResponse, error)
- type MockMessagingAPIServiceClientMockRecorder
- func (mr *MockMessagingAPIServiceClientMockRecorder) AddUserContacts(ctx, in any, opts ...any) *gomock.Call
- func (mr *MockMessagingAPIServiceClientMockRecorder) DeleteContacts(ctx, in any, opts ...any) *gomock.Call
- func (mr *MockMessagingAPIServiceClientMockRecorder) GetContactById(ctx, in any, opts ...any) *gomock.Call
- func (mr *MockMessagingAPIServiceClientMockRecorder) GetUserContacts(ctx, in any, opts ...any) *gomock.Call
- func (mr *MockMessagingAPIServiceClientMockRecorder) NotifyAll(ctx, in any, opts ...any) *gomock.Call
- func (mr *MockMessagingAPIServiceClientMockRecorder) NotifyContact(ctx, in any, opts ...any) *gomock.Call
- func (mr *MockMessagingAPIServiceClientMockRecorder) SendEmail(ctx, in any, opts ...any) *gomock.Call
- func (mr *MockMessagingAPIServiceClientMockRecorder) SendSMS(ctx, in any, opts ...any) *gomock.Call
- type MockMessagingAPIServiceServer
- func (m *MockMessagingAPIServiceServer) AddUserContacts(arg0 context.Context, arg1 *v1.AddUserContactsRequest) (*v1.AddUserContactsResponse, error)
- func (m *MockMessagingAPIServiceServer) DeleteContacts(arg0 context.Context, arg1 *v1.DeleteContactsRequest) (*v1.DeleteContactsResponse, error)
- func (m *MockMessagingAPIServiceServer) EXPECT() *MockMessagingAPIServiceServerMockRecorder
- func (m *MockMessagingAPIServiceServer) GetContactById(arg0 context.Context, arg1 *v1.GetContactByIdRequest) (*v1.GetContactByIdResponse, error)
- func (m *MockMessagingAPIServiceServer) GetUserContacts(arg0 context.Context, arg1 *v1.GetUserContactsRequest) (*v1.GetUserContactsResponse, error)
- func (m *MockMessagingAPIServiceServer) NotifyAll(arg0 context.Context, arg1 *v1.NotifyAllRequest) (*v1.NotifyAllResponse, error)
- func (m *MockMessagingAPIServiceServer) NotifyContact(arg0 context.Context, arg1 *v1.NotifyContactRequest) (*v1.NotifyContactResponse, error)
- func (m *MockMessagingAPIServiceServer) SendEmail(arg0 context.Context, arg1 *v1.SendEmailRequest) (*v1.SendEmailResponse, error)
- func (m *MockMessagingAPIServiceServer) SendSMS(arg0 context.Context, arg1 *v1.SendSMSRequest) (*v1.SendSMSResponse, error)
- type MockMessagingAPIServiceServerMockRecorder
- func (mr *MockMessagingAPIServiceServerMockRecorder) AddUserContacts(arg0, arg1 any) *gomock.Call
- func (mr *MockMessagingAPIServiceServerMockRecorder) DeleteContacts(arg0, arg1 any) *gomock.Call
- func (mr *MockMessagingAPIServiceServerMockRecorder) GetContactById(arg0, arg1 any) *gomock.Call
- func (mr *MockMessagingAPIServiceServerMockRecorder) GetUserContacts(arg0, arg1 any) *gomock.Call
- func (mr *MockMessagingAPIServiceServerMockRecorder) NotifyAll(arg0, arg1 any) *gomock.Call
- func (mr *MockMessagingAPIServiceServerMockRecorder) NotifyContact(arg0, arg1 any) *gomock.Call
- func (mr *MockMessagingAPIServiceServerMockRecorder) SendEmail(arg0, arg1 any) *gomock.Call
- func (mr *MockMessagingAPIServiceServerMockRecorder) SendSMS(arg0, arg1 any) *gomock.Call
- type MockUnsafeMessagingAPIServiceServer
- type MockUnsafeMessagingAPIServiceServerMockRecorder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockMessagingAPIServiceClient ¶
type MockMessagingAPIServiceClient struct {
// contains filtered or unexported fields
}
MockMessagingAPIServiceClient is a mock of MessagingAPIServiceClient interface.
func NewMockMessagingAPIServiceClient ¶
func NewMockMessagingAPIServiceClient(ctrl *gomock.Controller) *MockMessagingAPIServiceClient
NewMockMessagingAPIServiceClient creates a new mock instance.
func (*MockMessagingAPIServiceClient) AddUserContacts ¶
func (m *MockMessagingAPIServiceClient) AddUserContacts(ctx context.Context, in *v1.AddUserContactsRequest, opts ...grpc.CallOption) (*v1.AddUserContactsResponse, error)
AddUserContacts mocks base method.
func (*MockMessagingAPIServiceClient) DeleteContacts ¶
func (m *MockMessagingAPIServiceClient) DeleteContacts(ctx context.Context, in *v1.DeleteContactsRequest, opts ...grpc.CallOption) (*v1.DeleteContactsResponse, error)
DeleteContacts mocks base method.
func (*MockMessagingAPIServiceClient) EXPECT ¶
func (m *MockMessagingAPIServiceClient) EXPECT() *MockMessagingAPIServiceClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockMessagingAPIServiceClient) GetContactById ¶
func (m *MockMessagingAPIServiceClient) GetContactById(ctx context.Context, in *v1.GetContactByIdRequest, opts ...grpc.CallOption) (*v1.GetContactByIdResponse, error)
GetContactById mocks base method.
func (*MockMessagingAPIServiceClient) GetUserContacts ¶
func (m *MockMessagingAPIServiceClient) GetUserContacts(ctx context.Context, in *v1.GetUserContactsRequest, opts ...grpc.CallOption) (*v1.GetUserContactsResponse, error)
GetUserContacts mocks base method.
func (*MockMessagingAPIServiceClient) NotifyAll ¶
func (m *MockMessagingAPIServiceClient) NotifyAll(ctx context.Context, in *v1.NotifyAllRequest, opts ...grpc.CallOption) (*v1.NotifyAllResponse, error)
NotifyAll mocks base method.
func (*MockMessagingAPIServiceClient) NotifyContact ¶
func (m *MockMessagingAPIServiceClient) NotifyContact(ctx context.Context, in *v1.NotifyContactRequest, opts ...grpc.CallOption) (*v1.NotifyContactResponse, error)
NotifyContact mocks base method.
func (*MockMessagingAPIServiceClient) SendEmail ¶
func (m *MockMessagingAPIServiceClient) SendEmail(ctx context.Context, in *v1.SendEmailRequest, opts ...grpc.CallOption) (*v1.SendEmailResponse, error)
SendEmail mocks base method.
func (*MockMessagingAPIServiceClient) SendSMS ¶
func (m *MockMessagingAPIServiceClient) SendSMS(ctx context.Context, in *v1.SendSMSRequest, opts ...grpc.CallOption) (*v1.SendSMSResponse, error)
SendSMS mocks base method.
type MockMessagingAPIServiceClientMockRecorder ¶
type MockMessagingAPIServiceClientMockRecorder struct {
// contains filtered or unexported fields
}
MockMessagingAPIServiceClientMockRecorder is the mock recorder for MockMessagingAPIServiceClient.
func (*MockMessagingAPIServiceClientMockRecorder) AddUserContacts ¶
func (mr *MockMessagingAPIServiceClientMockRecorder) AddUserContacts(ctx, in any, opts ...any) *gomock.Call
AddUserContacts indicates an expected call of AddUserContacts.
func (*MockMessagingAPIServiceClientMockRecorder) DeleteContacts ¶
func (mr *MockMessagingAPIServiceClientMockRecorder) DeleteContacts(ctx, in any, opts ...any) *gomock.Call
DeleteContacts indicates an expected call of DeleteContacts.
func (*MockMessagingAPIServiceClientMockRecorder) GetContactById ¶
func (mr *MockMessagingAPIServiceClientMockRecorder) GetContactById(ctx, in any, opts ...any) *gomock.Call
GetContactById indicates an expected call of GetContactById.
func (*MockMessagingAPIServiceClientMockRecorder) GetUserContacts ¶
func (mr *MockMessagingAPIServiceClientMockRecorder) GetUserContacts(ctx, in any, opts ...any) *gomock.Call
GetUserContacts indicates an expected call of GetUserContacts.
func (*MockMessagingAPIServiceClientMockRecorder) NotifyAll ¶
func (mr *MockMessagingAPIServiceClientMockRecorder) NotifyAll(ctx, in any, opts ...any) *gomock.Call
NotifyAll indicates an expected call of NotifyAll.
func (*MockMessagingAPIServiceClientMockRecorder) NotifyContact ¶
func (mr *MockMessagingAPIServiceClientMockRecorder) NotifyContact(ctx, in any, opts ...any) *gomock.Call
NotifyContact indicates an expected call of NotifyContact.
type MockMessagingAPIServiceServer ¶
type MockMessagingAPIServiceServer struct {
// contains filtered or unexported fields
}
MockMessagingAPIServiceServer is a mock of MessagingAPIServiceServer interface.
func NewMockMessagingAPIServiceServer ¶
func NewMockMessagingAPIServiceServer(ctrl *gomock.Controller) *MockMessagingAPIServiceServer
NewMockMessagingAPIServiceServer creates a new mock instance.
func (*MockMessagingAPIServiceServer) AddUserContacts ¶
func (m *MockMessagingAPIServiceServer) AddUserContacts(arg0 context.Context, arg1 *v1.AddUserContactsRequest) (*v1.AddUserContactsResponse, error)
AddUserContacts mocks base method.
func (*MockMessagingAPIServiceServer) DeleteContacts ¶
func (m *MockMessagingAPIServiceServer) DeleteContacts(arg0 context.Context, arg1 *v1.DeleteContactsRequest) (*v1.DeleteContactsResponse, error)
DeleteContacts mocks base method.
func (*MockMessagingAPIServiceServer) EXPECT ¶
func (m *MockMessagingAPIServiceServer) EXPECT() *MockMessagingAPIServiceServerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockMessagingAPIServiceServer) GetContactById ¶
func (m *MockMessagingAPIServiceServer) GetContactById(arg0 context.Context, arg1 *v1.GetContactByIdRequest) (*v1.GetContactByIdResponse, error)
GetContactById mocks base method.
func (*MockMessagingAPIServiceServer) GetUserContacts ¶
func (m *MockMessagingAPIServiceServer) GetUserContacts(arg0 context.Context, arg1 *v1.GetUserContactsRequest) (*v1.GetUserContactsResponse, error)
GetUserContacts mocks base method.
func (*MockMessagingAPIServiceServer) NotifyAll ¶
func (m *MockMessagingAPIServiceServer) NotifyAll(arg0 context.Context, arg1 *v1.NotifyAllRequest) (*v1.NotifyAllResponse, error)
NotifyAll mocks base method.
func (*MockMessagingAPIServiceServer) NotifyContact ¶
func (m *MockMessagingAPIServiceServer) NotifyContact(arg0 context.Context, arg1 *v1.NotifyContactRequest) (*v1.NotifyContactResponse, error)
NotifyContact mocks base method.
func (*MockMessagingAPIServiceServer) SendEmail ¶
func (m *MockMessagingAPIServiceServer) SendEmail(arg0 context.Context, arg1 *v1.SendEmailRequest) (*v1.SendEmailResponse, error)
SendEmail mocks base method.
func (*MockMessagingAPIServiceServer) SendSMS ¶
func (m *MockMessagingAPIServiceServer) SendSMS(arg0 context.Context, arg1 *v1.SendSMSRequest) (*v1.SendSMSResponse, error)
SendSMS mocks base method.
type MockMessagingAPIServiceServerMockRecorder ¶
type MockMessagingAPIServiceServerMockRecorder struct {
// contains filtered or unexported fields
}
MockMessagingAPIServiceServerMockRecorder is the mock recorder for MockMessagingAPIServiceServer.
func (*MockMessagingAPIServiceServerMockRecorder) AddUserContacts ¶
func (mr *MockMessagingAPIServiceServerMockRecorder) AddUserContacts(arg0, arg1 any) *gomock.Call
AddUserContacts indicates an expected call of AddUserContacts.
func (*MockMessagingAPIServiceServerMockRecorder) DeleteContacts ¶
func (mr *MockMessagingAPIServiceServerMockRecorder) DeleteContacts(arg0, arg1 any) *gomock.Call
DeleteContacts indicates an expected call of DeleteContacts.
func (*MockMessagingAPIServiceServerMockRecorder) GetContactById ¶
func (mr *MockMessagingAPIServiceServerMockRecorder) GetContactById(arg0, arg1 any) *gomock.Call
GetContactById indicates an expected call of GetContactById.
func (*MockMessagingAPIServiceServerMockRecorder) GetUserContacts ¶
func (mr *MockMessagingAPIServiceServerMockRecorder) GetUserContacts(arg0, arg1 any) *gomock.Call
GetUserContacts indicates an expected call of GetUserContacts.
func (*MockMessagingAPIServiceServerMockRecorder) NotifyAll ¶
func (mr *MockMessagingAPIServiceServerMockRecorder) NotifyAll(arg0, arg1 any) *gomock.Call
NotifyAll indicates an expected call of NotifyAll.
func (*MockMessagingAPIServiceServerMockRecorder) NotifyContact ¶
func (mr *MockMessagingAPIServiceServerMockRecorder) NotifyContact(arg0, arg1 any) *gomock.Call
NotifyContact indicates an expected call of NotifyContact.
type MockUnsafeMessagingAPIServiceServer ¶
type MockUnsafeMessagingAPIServiceServer struct {
// contains filtered or unexported fields
}
MockUnsafeMessagingAPIServiceServer is a mock of UnsafeMessagingAPIServiceServer interface.
func NewMockUnsafeMessagingAPIServiceServer ¶
func NewMockUnsafeMessagingAPIServiceServer(ctrl *gomock.Controller) *MockUnsafeMessagingAPIServiceServer
NewMockUnsafeMessagingAPIServiceServer creates a new mock instance.
func (*MockUnsafeMessagingAPIServiceServer) EXPECT ¶
func (m *MockUnsafeMessagingAPIServiceServer) EXPECT() *MockUnsafeMessagingAPIServiceServerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockUnsafeMessagingAPIServiceServerMockRecorder ¶
type MockUnsafeMessagingAPIServiceServerMockRecorder struct {
// contains filtered or unexported fields
}
MockUnsafeMessagingAPIServiceServerMockRecorder is the mock recorder for MockUnsafeMessagingAPIServiceServer.