View Source API Reference surrealix v0.1.2

Modules

Main entry module for Surrealix

A vendored package, that makes reaching into deep structs little bit nicer.

Thin layer over the Websockets API for SurrealDB that is 100% generated from a data-structure.

Explicit config module to keep configurable options in a single place

Handles callback registration (for only when using live queries). Based on ideas here: https://github.com/keathley/sync_dispatch

Wrapper around ETS to store callbacks for live queries. Modelled after :telemetry.

Socket module to wrap the interactions with WebSockex process.

SocketState module makes testing the State transitions for Socket much simpler

Provides conventions to publishing :telemetry events

Telemetry Logger. Hooks telemetry events and logs them to stdout.

Some generic utility functions