View Source API Reference rivet_utils v2.0.2
Modules
Contributor: Brandon Gillespie
Common calls across mix tasks
Command-Line helpers for stdout/stderr I/O
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
Helper module for working with ok/error tuples
Helper module for password hashes
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)
Derived from toml-elixir/Toml.Provider https://github.com/bitwalker/toml-elixir/blob/master/lib/provider.ex and https://hexdocs.pm/elixir/Config.Provider.html#module-sample-config-provider
Originally lazy_cache @ https://hex.pm/packages/lazy_cache; but with updates.
Contributor: Brandon Gillespie
Helper module for common type handling needs
Puid.generate/0 is included with the use
statement below. It generates 18 random characters.
redact text based on common patterns for insecure data
Contributor: Brandon Gillespie
Provide custom log formatting that is friendly for both reading and indexing either via ELK or splunk.