Vapor v0.9.1 Vapor.Planner View Source

This module provides a DSL for building configuration plans.

defmodule MyApp.Config do
  use Vapor.Planner

  dotenv()

  config :env, env([
    foo: "FOO",
    bar: "BAR",
  ])

  config :file, file("test/support/settings.json", [
    foo: "foo",
    baz: "baz",
    boz: ["biz", "boz"],
  ])

  config :kafka, MyApp.KafkaWorker
end

Link to this section Summary

Link to this section Functions