package
Version:
v0.4.0
Opens a new window with list of versions in this module.
Published: Jan 24, 2021
License: GPL-3.0
Opens a new window with license information.
Imports: 10
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Get returns a Redis connection from connection pool or error if no
connection is available.
InitPool initializes a Redis connection pool with max. 10 idle connections,
100 max active connections and 240 sec timeout.
Publish takes a Redis connection, the channel name and the message which
should be published to that channel.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.