This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
use Mix.Config | |
import_config "../apps/*/config/config.exs" | |
config :logger, | |
handle_otp_reports: true, | |
handle_sasl_reports: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
defmodule ETSManager do | |
defmodule Backup do | |
use GenServer | |
require Logger | |
defstruct [main: nil, tables: []] | |
def start_link(_) do | |
case GenServer.start_link(__MODULE__, nil, name: __MODULE__) do |