package
0.0.0-20200409172854-0805cb333282
Repository: https://github.com/uniqush/uniqush-push.git
Documentation: pkg.go.dev

# Functions

NewPushDatabaseWithoutCache creates a push database implementation communicating with redis without any in-memory caching.

# Constants

DeliveryPointCounterPrefix is the prefix of keys for a redis STRING - Maps a delivery point name to the number of subcribers(summed across each service).
DeliveryPointID is the internal identifier for a delivery point(subscription) in Subscription() responses, which may be returned to clients if include_delivery_point_ids=1.
DeliveryPointPrefix is the prefix of keys for a redis STRING - Maps the delivery point name to a json blob of information about a delivery point.
PushServiceProviderPrefix is the prefix of keys for a redis STRING - Maps a push service provider name to a json blob of information about it.
ServiceDeliveryPointToPushServiceProviderPrefix is the prefix of keys for a redis STRING - Maps a service name + delivery point name to the push service provider.
ServicesSet is the key for a redis SET - This is a set of service names.
ServiceSubscriberToDeliveryPointsPrefix is the prefix of keys for a redis SET - Maps a service name + subscriber to a set of delivery point names.
ServiceToPushServiceProvidersPrefix is the prefix of keys for a redis SET - Maps a service name to a set of PSP names.

# Structs

DatabaseConfig represents all of the configuration for a database implementation.
PushRedisDB is currently the only uniqush pushRawDatabase implementation.
PushServiceProviderDeliveryPointPair is a pair of a push service provider and a delivery point belonging to that PSP.

# Interfaces

PushDatabase is an interface for any db implementation that uniqush-push can use.