Aino.Config (aino v0.6.0)

Config for Aino when launching in a supervision tree

  aino_config = %Aino.Config{
    callback: Example.Web.Handler,
    otp_app: :example,
    scheme: config.scheme,
    host: config.host,
    port: config.port,
    url_port: config.url_port,
    url_scheme: config.url_scheme,
    environment: config.environment,
    config: %{}
  }

  children = [
    {Aino.Supervisor, aino_config}
  ]