Agnus.Opts (agnus v0.1.1) View Source
Default opts unless otherwise configured in the application environment.
This module is documented for reference purposes only.
As noted elsewhere, options not specified in the application environment will default to the values in
defaults/0
Link to this section Summary
Functions
Returns a map of the default options used by Agnus.
Link to this section Functions
Specs
defaults() :: Agnus.Types.opts_map()
Returns a map of the default options used by Agnus.
%{
api: %{
fetcher: Agnus.Fetcher,
url: "https://api.sunrise-sunset.org",
lat: 40.2108,
lng: -74.011,
timeout: 500,
recv_timeout: 500
},
tz: "America/New_York",
cache_file: :none,
timeout: "PT1M",
log: %{init: false, init_args: false, cache_failures: false}
}