Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NOISSUE - Revert removal of notifier interface #2643

Merged
merged 3 commits into from
Jan 13, 2025

Conversation

felixgateru
Copy link
Contributor

What type of PR is this?

This is a refactor as it reverts the removal of the notifier interface.

What does this do?

This pr readds the Notifier interface at consumers/notifiers as well as the mock file.

Which issue(s) does this PR fix/relate to?

Related to pr#absmach/magistrala#33

Have you included tests for your changes?

No,

Did you document any new/modified feature?

In code documentation

Notes

@felixgateru felixgateru marked this pull request as ready for review January 13, 2025 04:31
Comment on lines 18 to 22
type Notifier interface {
// Notify method is used to send notification for the
// received message to the provided list of receivers.
Notify(from string, to []string, msg *messaging.Message) error
}
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Move this file to the consumers root: consumers/notifier.go.

@dborovcanin dborovcanin merged commit 3a11b54 into absmach:main Jan 13, 2025
4 of 5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants