package main
import (
"context"
unkeygo "github.com/unkeyed/unkey-go"
"log"
)
func main() {
ctx := context.Background()
s := unkeygo.New(
unkeygo.WithSecurity("UNKEY_ROOT_KEY"),
)
res, err := s.Liveness.V1Liveness(ctx)
if err != nil {
log.Fatal(err)
}
if res.Object != nil {
// handle response
}
}
This repository was archived by the owner on May 8, 2025. It is now read-only.