package
0.23.2
Repository: https://github.com/mainfluxlabs/mainflux.git
Documentation: pkg.go.dev

# README

Notifiers service

Notifiers service provides a service for sending notifications using Notifiers. Notifiers service can be configured to use different types of Notifiers to send different types of notifications such as SMS messages, emails, or push notifications. Service is extensible so that new implementations of Notifiers can be easily added. Notifiers are not standalone services but rather dependencies used by Notifiers service for sending notifications over specific protocols.

Configuration

The channel profile should include a list of contact emails. These emails are the recipients of the messages sent by the service. Configuration of the service is achieved through environment variables. The environment variables needed for service configuration depend on the underlying Notifier. An example of the service configuration for SMTP Notifier can be found in SMTP Notifier documentation. Note that any unset variables will be replaced with their default values.

Usage

Subscriptions service will start consuming messages and sending notifications when a message is received.

# Packages

No description provided by the author
No description provided by the author
No description provided by the author
Package smpp contains the domain concept definitions needed to support Mainflux SMS notifications.
Package smtp contains the domain concept definitions needed to support Mainflux SMTP notifications.
No description provided by the author

# Functions

New instantiates the subscriptions service implementation.

# Variables

ErrNotify wraps sending notification errors,.

# Interfaces

Notifier represents an API for sending notification.
NotifierRepository specifies a notifier persistence API.
Service represents a notification service.