yggdrasil v3.0.2 Yggdrasil.Publisher.Adapter.Postgres

A server for Postgres publishing.

The name of a channel is a string.

Summary

Functions

Publishes a message in a channel using a publisher

Starts a Postgres publisher with a namespace. Additianally you can add GenServer options

Stops a Postgres publisher

Functions

publish(publisher, channel, message)

Publishes a message in a channel using a publisher.

start_link(namespace, options \\ [])

Starts a Postgres publisher with a namespace. Additianally you can add GenServer options.

stop(publisher)

Stops a Postgres publisher.