albrow / jobs

A persistent and flexible background jobs library for go.
MIT License
499 stars 47 forks source link

Add Redis Password as a Configuration Option #10

Closed albrow closed 9 years ago

albrow commented 9 years ago

Currently, you cannot connect to a Redis database that is protected by a password. However, it's not hard at all to add this feature. The basic idea is to add a config variable Config.Db.Password. If set, then all connections will issue the AUTH command when they are initialized to authenticate with the database.

albrow commented 9 years ago

Implemented in 39fcd7936d2b031ef36639a868a1a32b6a1e0cf4