Go SDK
Tickstem Go SDKs — cron jobs, uptime, heartbeat, and email verification.
The official Tickstem Go SDKs. Schedule cron jobs, monitor HTTP endpoints, track heartbeats, and verify email addresses from your Go app — all under one API key. Requires Go 1.21+.
$ go get github.com/tickstem/cron
Separate modules per tool — install only what you need. No third-party dependencies.
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