emqx/apps/emqx_utils
Andrew Mayorov fb0da9848c
feat(tpl): add separate placeholders/1 function
The purpose is to have a clearer view of placeholders used in a
template, without going the usual `render(Template, #{})` route that is
actually subtly misleading: it won't mention that `${}` / `${.}`
placeholder has been used.

Also unify handling of `${}` / `${.}` in a couple of places.
2024-06-11 11:42:43 +02:00
..
include fix: rework In-flight / Mqueue API 2024-03-20 15:25:33 +02:00
src feat(tpl): add separate placeholders/1 function 2024-06-11 11:42:43 +02:00
test feat(tpl): add separate placeholders/1 function 2024-06-11 11:42:43 +02:00
README.md refactor(metrics): Move metrics worker to emqx_utils application 2024-04-02 16:25:04 +02:00
rebar.config chore: upgrade to jiffy from 1.0.5 to 1.0.6 2023-12-06 19:18:15 +01:00

Erlang utility library for EMQX

Overview

emqx_utils is a collection of utility functions for EMQX, organized into several modules. It provides various functionalities to make it easier to work with EMQX, such as binary manipulations, maps, JSON en- and decoding, ets table handling, data conversions, and more.

Features

  • emqx_utils: unsorted helper functions, formerly known as emqx_misc - NEEDS WORK
  • emqx_utils_api: collection of helper functions for API responses
  • emqx_utils_binary: binary reverse, join, trim etc
  • emqx_utils_ets: convenience functions for creating and looking up data in ets tables.
  • emqx_utils_json: JSON encoding and decoding
  • emqx_utils_maps: convenience functions for map lookup and manipulation like deep_get etc.
  • emqx_metrics: counters, gauges, slides

Contributing

Please see our contributing guidelines for information on how to contribute to emqx_utils. We welcome bug reports, feature requests, and pull requests.