View Source Notifiex (Notifiex v1.1.0)

The main module for Notifiex.

Link to this section Summary

Functions

send helps in sending a notification through the specified service.

Returns a Keyword list of services.

Callback implementation for Application.start/2.

Link to this section Types

@type config() :: {service(), payload(), options()}
@type id() :: atom()
@type options() :: atom()
@type payload() :: atom()
@type result() :: atom()
@type send_type() :: :sync
@type service() :: atom()

Link to this section Functions

Link to this function

send(service, payload, options)

View Source
@spec send(service(), payload(), options()) :: result()

send helps in sending a notification through the specified service.

Example:

> Notifiex.send(:slack, %{text: "Notifiex is cool! 🚀", channel: "general"},  %{token: "SECRET"})
@spec services() :: keyword()

Returns a Keyword list of services.

Link to this function

start(start_type, start_args)

View Source

Callback implementation for Application.start/2.