Current section
Files
Jump to
Current section
Files
lib/cmdc_gateway/application.ex
defmodule CMDCGateway.Application do
@moduledoc false
use Application
@impl true
def start(_type, _args) do
CMDCGateway.CallbackTool.init_registry()
children = [
CMDCGateway.SessionStore,
CMDCGateway.RateLimiter,
CMDCGateway.Meter
]
opts = [strategy: :one_for_one, name: CMDCGateway.Supervisor]
Supervisor.start_link(children, opts)
end
end