Surgex v2.21.0 API Reference
Modules
Runs tasks from the Surgex.Refactor module
Main Surgex OTP application that calls patches configured for running and hibernates itself
Tools for working with Ecto changesets
Application config getter, aka. Application.get_env
on steroids
Patches any Mix config with Surgex.Config
Tools for moving data between PostgreSQL databases and tables
Acquires a PostgreSQL slave synchronization with a remote master
Configures a PostgreSQL Foreign Data Wrapper linkage between two repos
Proxies repo calls depending on replication needs
Extracts and transforms data from one PostgreSQL table into another
Cleans tables in a database represented by an Ecto repo
Configures Ruby on Rails + Devise session in Plug
Helpers that assist in working with session fetched via Surgex.DeviseSession
plug
Official style guide for Elixir and Phoenix projects at Surge Ventures
Basic code style and formatting guidelines
Higher level application design and engineering guidelines
Parses, casts and catches errors in the web request input, such as params or JSON API body
Checks if the given parameter’s value is on the list of allowed values
Holds a box made of two points on Earth’s surface
Holds a specific point on Earth’s surface
Parses the JSON API’s include parameter according to the JSON API spec
Parses the JSON API’s sort parameter according to the JSON API spec
An Ecto.Type
implementation of E164-compilant phone numbers
Remote procedure call system based on Protocol Buffers
Calls services in remote systems
Transports RPC calls through HTTP requests protected with a secret header
Tools for making code maintenance and refactors easier
Maps module names to filenames and finds non-matches
Extensions to the official Scout package
Extensions to the official Sentry package
Exceptions
Describes an unexpected RPC call rejection
Describes an RPC call failure in the transport layer