Skip to content

About

Go SDK for CE-RISE Hex Core Service, auto-generated from the official OpenAPI specification and versioned with service releases. MIRROR OF:

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

54 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CE-RISE Go Software Development Kit for Hexagonal Core Service

Go Reference DOI

A Go SDK for the CE-RISE Hex Core Service: https://codeberg.org/CE-RISE-software/hex-core-service.


Package

Install

go get github.com/CE-RISE-software/hex-core-sdk-go@latest

Use the SDK

package 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)
}

API Documentation

License

Licensed under the European Union Public Licence v1.2 (EUPL-1.2).

Contributing

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.


EU emblem

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.

NILU logo

Developed by NILU (Riccardo Boero — ribo@nilu.no) within the CE-RISE project.

About

Go SDK for CE-RISE Hex Core Service, auto-generated from the official OpenAPI specification and versioned with service releases. MIRROR OF:

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Contributors

Languages