elixir_weather_data v0.2.4 ElixirWeatherData.GenServer
Link to this section Summary
Functions
Returns a specification to start this module under a supervisor
Returns the current state:
{:ok, weather_data_map}
{:error, error_reason_string}
Checks the given options
Starts the gen server
Link to this section Functions
Link to this function
child_spec(arg)
Returns a specification to start this module under a supervisor.
See Supervisor
.
Link to this function
get()
Returns the current state:
{:ok, weather_data_map}
{:error, error_reason_string}
Link to this function
init(opts)
Checks the given options.
Link to this function
start_link(opts)
Starts the gen server.