package
0.12.0
Repository: https://github.com/inklabs/rangedb.git
Documentation: pkg.go.dev

# Functions

New constructs an postgresStore.
NewConfigFromEnvironment loads a Postgres config from environment variables.
WithClock is a functional option to inject a clock.Clock.
WithPgNotify enables pg_notify() for notifying subscribers.
WithUUIDGenerator is a functional option to inject a shortuuid.Generator.

# Structs

Config holds the state for a PostgreSQL DB config.
PostgresJsonRecord holds a JSON record sent via pg_notify.

# Interfaces

JsonSerializer defines the interface to bind events and identify event types.

# Type aliases

Option defines functional option parameters for postgresStore.