package
Version:
v0.0.0-...-bfbd9d7
Opens a new window with list of versions in this module.
Published: Nov 28, 2017
License: MIT
Opens a new window with license information.
Imports: 4
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
DB is concrete implementation of the JobDB interface, that uses Redis for persistence.
func New(addrs string, cred *mgo.Credential) *DB
New instantiates a new DB.
Close closes the connection to Redis.
Delete deletes a persisted Job.
Get returns a persisted Job.
GetAll returns all persisted Jobs.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.