Browse Source

Add record specs to pooled_gs

Seth Falcon 9 years ago
parent
commit
69d8b3f30c
1 changed files with 3 additions and 3 deletions
  1. 3 3
      src/pooled_gs.erl

+ 3 - 3
src/pooled_gs.erl

@@ -75,9 +75,9 @@ stop(S) ->
 %% gen_server Function Definitions
 %% ------------------------------------------------------------------
 -record(state, {
-          type = "",
-          id,
-          ping_count = 0
+          type = "" :: string(),
+          id :: reference(),
+          ping_count = 0 :: non_neg_integer()
          }).
 
 init({Type}) ->