Current section
Files
Jump to
Current section
Files
src/bloodbath.erl
-module(bloodbath).
-export([start/0, init/1, get_config/0]).
-spec start() -> {ok, pid()}.
start() ->
{ok, _Pid} = application:start(bloodbath).
-spec init([]) -> {ok, bloodbath_configuration:state_record()}.
init([]) ->
{ok, bloodbath_configuration:new()}.
-spec get_config() -> bloodbath_configuration:state_record().
get_config() ->
bloodbath_configuration:get_config().