Skip to content

Instantly share code, notes, and snippets.

View gabrieledarrigo's full-sized avatar
😃
Smiling

Gabriele D'Arrigo gabrieledarrigo

😃
Smiling
View GitHub Profile
@gabrieledarrigo
gabrieledarrigo / poller.go
Created December 2, 2023 11:38 — forked from nhocki/poller.go
Simple task scheduling with Redis & Go. Similar to Sidekiq's `perform_in` and `perform_at`.
// poller.go
package main
import (
"fmt"
"os"
"os/signal"
"time"