package
7.0.0+incompatible
Repository: https://github.com/exceptmaybethewire/gitlab-workhorse.git
Documentation: pkg.go.dev

# Functions

Configure redis-connection.
DefaultDialFunc should always used.
Get a connection for the Redis-pool.
GetString fetches the value of a key in Redis as a string.
Process redis subscriptions NOTE: There Can Only Be One!.
WatchKey waits for a key to be updated or expired.

# Constants

WatchKeyStatusAlreadyChanged is returned when the value passed by the caller was never observed.
WatchKeyStatusNoChange is returned when the function had to return before observing a change.
WatchKeyStatusSeenChange is returned when we have seen the value passed by the caller get changed.
WatchKeyStatusTimeout is returned when the watch timeout provided by the caller was exceeded.

# Structs

KeyChan holds a key and a channel.

# Type aliases

WatchKeyStatus is used to tell how WatchKey returned.