Packages

A gateway for receiving and redistributing data from machine sensors

Current section

Files

Jump to
geo_gateway src geo_gateway_config_loader.erl
Raw

src/geo_gateway_config_loader.erl

%% @doc Describing the geo_gateway_config_loader behaviour, which is responsible
%% for loading and exposing the gateway configuration.
%%
%% It may uses any source (process dictionnary, configuration file, database,
%% HTTP service).
-module(geo_gateway_config_loader).
-author('yoan@ytotech.com').
-callback load_config() -> #{devices => map(), forwarders => map(), smtp_gateway => map(), users => map()}.