Go SDK
Tickstem Go SDKs — cron jobs, uptime, heartbeat, and email verification.
go get github.com/tickstem/cron — cron jobs, uptime monitoring, heartbeat checks and email verification for Go apps. One API key, Go 1.21+.
1
$ go get github.com/tickstem/cron
Separate modules per tool — install only what you need. No third-party dependencies.
2
Get an API key
Sign in at app.tickstem.dev → API Keys → create a key. Store it as an environment variable:
$ export TICKSTEM_API_KEY=tsk_live_...
3
Add monitoring to your code
Cron jobs
import "github.com/tickstem/cron"
client := cron.New(os.Getenv("TICKSTEM_API_KEY"))
job, err := client.Register(ctx, cron.RegisterParams{
Name: "Send digest",
Schedule: "0 9 * * 1-5",
Endpoint: "https://yourapp.com/webhooks/digest",
})
Uptime monitoring
import "github.com/tickstem/uptime"
// go get github.com/tickstem/uptime
client := uptime.New(os.Getenv("TICKSTEM_API_KEY"))
monitor, err := client.Create(ctx, uptime.CreateParams{
Name: "Production API",
URL: "https://api.yourapp.com/health",
})
Heartbeat monitoring
import "github.com/tickstem/heartbeat"
// go get github.com/tickstem/heartbeat
client := heartbeat.New(os.Getenv("TICKSTEM_API_KEY"))
hb, err := client.Create(ctx, heartbeat.CreateParams{
Name: "daily backup", IntervalSecs: 86400,
})
// At the end of every successful run
client.Ping(ctx, hb.Token)
Email verification
import "github.com/tickstem/verify"
// go get github.com/tickstem/verify
client := verify.New(os.Getenv("TICKSTEM_API_KEY"))
result, err := client.Verify(ctx, "[email protected]")
// result.Valid, result.Disposable, result.RoleBased, result.Reason