...нашелся повод для беспокойства
s5@s5:~/fast$ erl -pa ./ebin
Erlang/OTP 17 [erts-6.1] [source] [64-bit] [smp:8:8] [async-threads:10] [kernel-poll:false]
Eshell V6.1 (abort with ^G)
1> application:start(fast).
ok
...
3> {ok, Pid} = fast_server:start_link().
** exception error: undefined function fast_server:start_link/0
присмотревшись к start_link(Socket), поняла что Socket здесь будет лишним и изменила на
start_link() ->
gen_server:start_link(?MODULE, [], []).
и в итоге
~/fast$ rebar compile
==> fast (compile)
src/fast_server.erl:2: Warning: undefined callback function code_change/3 (behaviour 'gen_server')
src/fast_server.erl:2: Warning: undefined callback function handle_call/3 (behaviour 'gen_server')
src/fast_server.erl:2: Warning: undefined callback function handle_info/2 (behaviour 'gen_server')
src/fast_server.erl:2: Warning: undefined callback function terminate/2 (behaviour 'gen_server')
Compiled src/fast_server.erl
s5@s5:~/fast$ erl -pa ./ebin
Erlang/OTP 17 [erts-6.1] [source] [64-bit] [smp:8:8] [async-threads:10] [kernel-poll:false]
Eshell V6.1 (abort with ^G)
1> application:start(fast).
ok
2> {ok, Pid} = fast_server:start_link().
** exception exit: {badmatch,false}
in function fast_server:init/1 (src/fast_server.erl, line 15)
in call from gen_server:init_it/6 (gen_server.erl, line 306)
in call from proc_lib:init_p_do_apply/3 (proc_lib.erl, line 239)
появилась тема для размышлений, fast.conf не работает.