Documentation ¶
Index ¶
Constants ¶
View Source
const ( WorkingSetKey = "working" NotWorkingSetKey = "not_working" UnionSetKey = "union" )
Variables ¶
This section is empty.
Functions ¶
func AddSetChanValue ¶
Fills Redis Set by values from valueChan
func InitDatabase ¶
func InitDatabase()
Creates connection to Redis database. Must be run before working with DB.
func PopAllUnionSet ¶
func PopAllUnionSet(hostChan chan<- string)
Sends all records from the Union Set to hostChan
func UniteSetsToUnionSet ¶
func UniteSetsToUnionSet() error
Unites Working and NotWorking sets to Union. Working and NotWorking sets will be deleted.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.