epgsql_pool.hrl 424 B

1234567891011121314
  1. -record(epgsql_connection_params, {
  2. host :: string() | binary(),
  3. port :: non_neg_integer(),
  4. username :: string() | binary(),
  5. password :: string() | binary(),
  6. database :: string() | binary()
  7. }).
  8. -record(epgsql_connection, {
  9. sock :: pid(),
  10. params :: #epgsql_connection_params{},
  11. reconnect_attempt = 0 :: non_neg_integer()
  12. }).