goth v0.3.2 Goth.Config
Goth.Config
is a GenServer
that holds the current configuration.
This configuration is loaded from one of three places:
- a JSON string passed in via your application’s config
- a ENV variable passed in via your application’s config
- Google’s metadata service (note: this only works if running in GCP)
The Goth.Config
server exists mostly for other parts of your application
(or other libraries) to pull the current configuration state,
via Goth.Config.get/1
. If necessary, you can also set config values via
Goth.Config.set/2