Documentation IndexFetch the complete documentation index at: /llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Go SDK Reference
func (c *Client) GetHealth(ctx context.Context) (map[string]string, error)
map[string]string
status
"healthy"
api_version
"v1"
version
*TransportError
*ServiceError
5xx
package main import ( "context" "fmt" "log" "github.com/cyborginc/cyborgdb-go" ) func main() { client, err := cyborgdb.NewClient("http://localhost:8000", "your-api-key") if err != nil { log.Fatal(err) } health, err := client.GetHealth(context.Background()) if err != nil { log.Fatal(err) } fmt.Println(health) // Output: map[api_version:v1 status:healthy version:0.18.0] }
Was this page helpful?
Contact support