View Source Electric.Application.Configuration (electric v0.9.3)

A simple interface to :persistent_term that is designed for storing and retrieving the global application configuration (stored as a single map).

Summary

Types

@type t() :: %Electric.Application.Configuration{
  control_plane: term(),
  electric_instance_id: term(),
  persistent_kv: term(),
  pool_opts: term(),
  replication_opts: term()
}

Functions

@spec get() :: t()
@spec save(t()) :: t()