Current section
Files
Jump to
Current section
Files
src/cowmachine_state.hrl
%% @doc Data for cowmachine's decision core
-record(cmstate, {
% Cowboy state
controller :: atom(),
is_process_called = false :: boolean(),
% Memo cache for controller calls
cache = #{} :: map(),
options = #{} :: map()
}).
-define(DBG(Msg), error_logger:info_msg("DEBUG: ~p:~p ~p~n", [?MODULE, ?LINE, Msg])).