//
pkg.gl
Category
github.com/rivalry-matchmaker/rivalry
internal
db
pubsub
package
0.0.0-20230304155249-cf826ce0da19
Repository:
https://github.com/rivalry-matchmaker/rivalry.git
Documentation:
pkg.go.dev
Overview
Versions
1
Dependencies
5
Dependents
5
Files
76 SLOC
#
Packages
mock
Package mock is a generated GoMock package.
#
Functions
NewNATS
NewNATS returns a new nats pubsub Client.
NewRedis
NewRedis is a helper function used to create a new RedisPubSub.
#
Structs
NATS
NATS implements the pubsub Client interface.
RedisPubSub
RedisPubSub is a redis implementation of the PubSub interface.
#
Interfaces
Client
Client specifies the interface for pubsub actions.