API Reference rivet_utils v1.0.4

modules

Modules

lift the hood on the CSV module and call some of it's internal parsing, as we aren't using it's higher level streams

Contributor: Brandon Gillespie

Contributor: Brandon Gillespie

Criteria is used for cursor based pagination.

Contributor: Brandon Gillespie

Custom Type to support :atom defmodule Post do use Ecto.Schema schema "posts" do

Convert map keys from strings to atoms, recursively, when pulling in from the Db.

extensions for ecto change sets

Helper module for working with ok/error tuples

Custom Type to support MapSet

Custom Type to support any virtual data. Always serializes to nil, so when including it as a field add virtual: true.

Contributor: Brandon Gillespie

Make sure only one of a method callback is ever running.

Similar to Interval, but tick-driven, where it has a tick frequency which is more frequent than the interval frequency -- allowing for interruptions to the interval and the subsequent intervals to start from there forward.

High frequency interval tick - forced process state matching the interval's desired structure (optimal tuple instead of dict). Runs as an independent GenServer process. Send "state data" into GenServer.start_link(state_data)

Originally lazy_cache @ https://hex.pm/packages/lazy_cache; but with updates.

Contributor: Brandon Gillespie

redact text based on common patterns for insecure data

Contributor: Brandon Gillespie

Helper module for common type handling needs

Provide custom log formatting that is friendly for both reading and indexing either via ELK or splunk.