A Go SDK for the CE-RISE Hex Core Service: https://codeberg.org/CE-RISE-software/hex-core-service.
- Module:
github.com/CE-RISE-software/hex-core-sdk-go - Go package name:
hexcoresdk - Reference docs: https://pkg.go.dev/github.com/CE-RISE-software/hex-core-sdk-go
go get github.com/CE-RISE-software/hex-core-sdk-go@latestpackage main
import (
"context"
"fmt"
"log"
hexcoresdk "github.com/CE-RISE-software/hex-core-sdk-go"
)
func main() {
cfg := hexcoresdk.NewConfiguration()
cfg.Servers = hexcoresdk.ServerConfigurations{
{
URL: "https://your-hex-core.example.org",
},
}
client := hexcoresdk.NewAPIClient(cfg)
health, httpRes, err := client.AdminAPI.Health(context.Background()).Execute()
if err != nil {
log.Fatalf("health request failed: %v", err)
}
fmt.Printf("health status code: %d\n", httpRes.StatusCode)
fmt.Printf("health response: %+v\n", health)
models, _, err := client.DiscoveryAPI.ListModels(context.Background()).Execute()
if err != nil {
log.Fatalf("list models failed: %v", err)
}
fmt.Printf("models response: %+v\n", models)
}- pkg.go.dev reference: https://pkg.go.dev/github.com/CE-RISE-software/hex-core-sdk-go
- Generated documentation website: https://ce-rise-software.codeberg.page/hex-core-sdk-go/
Licensed under the European Union Public Licence v1.2 (EUPL-1.2).
This repository is maintained on Codeberg — the canonical source of truth. The GitHub repository is a read mirror used for release archival and Zenodo integration. Issues and pull requests should be opened on Codeberg.
Funded by the European Union under Grant Agreement No. 101092281 — CE-RISE.
Views and opinions expressed are those of the author(s) only and do not necessarily reflect those of the European Union or the granting authority (HADEA).
Neither the European Union nor the granting authority can be held responsible for them.
© 2026 CE-RISE consortium.
Licensed under the European Union Public Licence v1.2 (EUPL-1.2).
Attribution: CE-RISE project (Grant Agreement No. 101092281) and the individual authors/partners as indicated.
Developed by NILU (Riccardo Boero — ribo@nilu.no) within the CE-RISE project.