Packages
aws_pubsub
0.0.1
Library for publish message to AWS SNS topic and consume messages from AWS SQS
Current section
Files
Jump to
Current section
Files
lib/application.ex
defmodule AwsPubsub.Application do
@moduledoc false
use Application
def start(_type, _args) do
import Supervisor.Spec, warn: false
children = [
AwsPubsub.Consumer
]
opts = [strategy: :one_for_one, name: AwsPubsub.Supervisor]
Supervisor.start_link(children, opts)
end
end