Skip to content

processone/p1_utils

Folders and files

NameName
Last commit message
Last commit date

Latest commit

de99c8c · Jun 27, 2024
Jan 28, 2021
Jun 27, 2024
Jan 28, 2021
Mar 10, 2017
Jun 27, 2024
Feb 10, 2022
Feb 10, 2022
Jun 27, 2024
Jan 18, 2019
Jan 18, 2019
Nov 20, 2015
Feb 10, 2022
Dec 10, 2021
Feb 10, 2022
Feb 10, 2022
Feb 26, 2019

Repository files navigation

p1_utils

CI Coverage Status Hex version

p1_utils is an application containing ProcessOne modules and tools that are leveraged in other development projects:

  • p1_fsm and p1_server are drop-in replacements of Erlang gen_fsm and gen_server, offering extra option for better reliability in production. They support mostly priority messages and message queue length controls.
  • p1_nif_utils is an helper utilities for handling NIF code.
  • treap is a treap algorithm implementation. It is a randomized binary search tree. See: https://en.wikipedia.org/wiki/Treap
  • p1_time_compat is a module to ease support and migration of Erlang time management function from Erlang R16/R17 to Erlang R18.
  • p1_http is an http client which provides a common API for inets / lhttpc / ibrowse
  • p1_proxy_protocol decodes HAproxy protocol (v1 and v2) headers.

If you have rebar binary, you can generate p1_utils documentation by running rebar3 edoc.