package
0.0.0-20230705210123-6fe496104d33
Repository: https://github.com/dagosu/bookingapp.git
Documentation: pkg.go.dev

# Packages

No description provided by the author

# Functions

Init opens and verifies connection to database returns struct that holds connection and database.
NewSubscriptionsMux starts a collection watch, instantiate a new subscription muxer which handles watchChanges, subscription management and sending updates.

# Variables

PollingInterval is the interval at which the subscription query is reevaluated in order to catch documents missed because of time-based queries.

# Structs

Db structure facilitates access to the database and opened connection to the passed uri.
SubscriptionsMux handles subscription management and sending updates.

# Interfaces

GenericType is an interface that facilitates instantiating models and sending updates to streams.
No description provided by the author
No description provided by the author

# Type aliases

No description provided by the author