Gost is a Go port of Ost for fun and profit. If you want something really minimal you should take a look at Ostgo
gost := gost.Connect(":6379")gost.Push("my_jobs", "id_to_be_procesed")gost.Items("my_jobs")gost.Stop()gost.Each("my_jobs", func(id string) bool {
if(does_something_with_the_id(id)) {
// Everything is ok
return true
} else {
// If the fn returns false the items is kept in the backup key
return false
}
})