Documentation ¶
Overview ¶
Package fcm is a generated GoMock package.
Index ¶
- func NewNotification(key string) common.NotificationConstructor
- type MockfirebaseClient
- func (m *MockfirebaseClient) EXPECT() *MockfirebaseClientMockRecorder
- func (m *MockfirebaseClient) NewFcmRegIdsMsg(tokens []string, body interface{}) *go_fcm.FcmClient
- func (m *MockfirebaseClient) Send() (*go_fcm.FcmResponseStatus, error)
- func (m *MockfirebaseClient) SetNotificationPayload(payload *go_fcm.NotificationPayload) *go_fcm.FcmClient
- type MockfirebaseClientMockRecorder
- type Notification
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewNotification ¶
func NewNotification(key string) common.NotificationConstructor
NewNotification Firebase Cloud Messaging client constructor.
Types ¶
type MockfirebaseClient ¶
type MockfirebaseClient struct {
// contains filtered or unexported fields
}
MockfirebaseClient is a mock of firebaseClient interface
func NewMockfirebaseClient ¶
func NewMockfirebaseClient(ctrl *gomock.Controller) *MockfirebaseClient
NewMockfirebaseClient creates a new mock instance
func (*MockfirebaseClient) EXPECT ¶
func (m *MockfirebaseClient) EXPECT() *MockfirebaseClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockfirebaseClient) NewFcmRegIdsMsg ¶
func (m *MockfirebaseClient) NewFcmRegIdsMsg(tokens []string, body interface{}) *go_fcm.FcmClient
NewFcmRegIdsMsg mocks base method
func (*MockfirebaseClient) Send ¶
func (m *MockfirebaseClient) Send() (*go_fcm.FcmResponseStatus, error)
Send mocks base method
func (*MockfirebaseClient) SetNotificationPayload ¶
func (m *MockfirebaseClient) SetNotificationPayload(payload *go_fcm.NotificationPayload) *go_fcm.FcmClient
SetNotificationPayload mocks base method
type MockfirebaseClientMockRecorder ¶
type MockfirebaseClientMockRecorder struct {
// contains filtered or unexported fields
}
MockfirebaseClientMockRecorder is the mock recorder for MockfirebaseClient
func (*MockfirebaseClientMockRecorder) NewFcmRegIdsMsg ¶
func (mr *MockfirebaseClientMockRecorder) NewFcmRegIdsMsg(tokens, body interface{}) *gomock.Call
NewFcmRegIdsMsg indicates an expected call of NewFcmRegIdsMsg
func (*MockfirebaseClientMockRecorder) Send ¶
func (mr *MockfirebaseClientMockRecorder) Send() *gomock.Call
Send indicates an expected call of Send
func (*MockfirebaseClientMockRecorder) SetNotificationPayload ¶
func (mr *MockfirebaseClientMockRecorder) SetNotificationPayload(payload interface{}) *gomock.Call
SetNotificationPayload indicates an expected call of SetNotificationPayload
type Notification ¶
type Notification struct {
// contains filtered or unexported fields
}
Notification represents messaging provider for notifications.