Documentation ¶
Overview ¶
Package mock_messaging is a generated GoMock package.
Index ¶
- type MockInterface
- func (m *MockInterface) BatchSendDryRun(ctx context.Context, tokens []string) ([]string, error)
- func (m *MockInterface) BroadCastToTopic(ctx context.Context, topic string, payload map[string]string) error
- func (m *MockInterface) EXPECT() *MockInterfaceMockRecorder
- func (m *MockInterface) SubstribeToTpic(ctx context.Context, deviceToken, topic string) error
- func (m *MockInterface) UnsubscribeFromTopic(ctx context.Context, deviceToken, topic string) error
- type MockInterfaceMockRecorder
- func (mr *MockInterfaceMockRecorder) BatchSendDryRun(ctx, tokens any) *gomock.Call
- func (mr *MockInterfaceMockRecorder) BroadCastToTopic(ctx, topic, payload any) *gomock.Call
- func (mr *MockInterfaceMockRecorder) SubstribeToTpic(ctx, deviceToken, topic any) *gomock.Call
- func (mr *MockInterfaceMockRecorder) UnsubscribeFromTopic(ctx, deviceToken, topic any) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockInterface ¶
type MockInterface struct {
// contains filtered or unexported fields
}
MockInterface is a mock of Interface interface.
func NewMockInterface ¶
func NewMockInterface(ctrl *gomock.Controller) *MockInterface
NewMockInterface creates a new mock instance.
func (*MockInterface) BatchSendDryRun ¶
BatchSendDryRun mocks base method.
func (*MockInterface) BroadCastToTopic ¶
func (m *MockInterface) BroadCastToTopic(ctx context.Context, topic string, payload map[string]string) error
BroadCastToTopic mocks base method.
func (*MockInterface) EXPECT ¶
func (m *MockInterface) EXPECT() *MockInterfaceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockInterface) SubstribeToTpic ¶
func (m *MockInterface) SubstribeToTpic(ctx context.Context, deviceToken, topic string) error
SubstribeToTpic mocks base method.
func (*MockInterface) UnsubscribeFromTopic ¶
func (m *MockInterface) UnsubscribeFromTopic(ctx context.Context, deviceToken, topic string) error
UnsubscribeFromTopic mocks base method.
type MockInterfaceMockRecorder ¶
type MockInterfaceMockRecorder struct {
// contains filtered or unexported fields
}
MockInterfaceMockRecorder is the mock recorder for MockInterface.
func (*MockInterfaceMockRecorder) BatchSendDryRun ¶
func (mr *MockInterfaceMockRecorder) BatchSendDryRun(ctx, tokens any) *gomock.Call
BatchSendDryRun indicates an expected call of BatchSendDryRun.
func (*MockInterfaceMockRecorder) BroadCastToTopic ¶
func (mr *MockInterfaceMockRecorder) BroadCastToTopic(ctx, topic, payload any) *gomock.Call
BroadCastToTopic indicates an expected call of BroadCastToTopic.
func (*MockInterfaceMockRecorder) SubstribeToTpic ¶
func (mr *MockInterfaceMockRecorder) SubstribeToTpic(ctx, deviceToken, topic any) *gomock.Call
SubstribeToTpic indicates an expected call of SubstribeToTpic.
func (*MockInterfaceMockRecorder) UnsubscribeFromTopic ¶
func (mr *MockInterfaceMockRecorder) UnsubscribeFromTopic(ctx, deviceToken, topic any) *gomock.Call
UnsubscribeFromTopic indicates an expected call of UnsubscribeFromTopic.