More documentation and some cleanup

This commit is contained in:
Hans Svensson
2018-03-08 12:07:00 +01:00
parent 9a9d9f47b8
commit 8d47669d68
9 changed files with 63 additions and 35 deletions
+9 -3
View File
@@ -1,6 +1,11 @@
%%%-------------------------------------------------------------------
%%% @copyright (C) 2018, Aeternity Anstalt
%%%-------------------------------------------------------------------
%%% ------------------------------------------------------------------
%%% @copyright 2018, Aeternity Anstalt
%%%
%%% @doc Module implementing a gen_server for holding a handshaked
%%% Noise connection.
%%%
%%% @end
%%% ------------------------------------------------------------------
-module(enoise_connection).
@@ -16,6 +21,7 @@
terminate/2, code_change/3]).
-record(enoise, { pid }).
-record(state, {rx, tx, owner, tcp_sock, active, buf = <<>>, rawbuf = <<>>}).
%% -- API --------------------------------------------------------------------