Go adapter for Janus SDK
- Go 100%
| examples | ||
| janus | ||
| CLAUDE.md | ||
| go.mod | ||
| LICENSE | ||
| README.md | ||
janus-sdk-go (Community Experiment)
Repository: https://git.sovereign-society.org/community/janus-sdk-go Status: COMMUNITY EXPERIMENT — Not officially maintained Note: This is a community fork. Not maintained by Janus team.
Overview
Go adapter for calling Janus code via the janus_sdk.h C ABI.
Status
⚠️ Community Experiment — This is NOT officially maintained by the Janus team.
Usage (Example)
package main
import (
"fmt"
"github.com/janus-lang/janus-sdk-go/janus"
)
func main() {
ctx, err := janus.Open(janus.CapInvoke)
if err != nil {
panic(err)
}
defer ctx.Close()
err = ctx.Invoke("myapp", "handle_order", Order{ID: 123, Amount: 100.00})
if err != nil {
panic(err)
}
fmt.Println("Success!")
}
Capabilities
| Constant | Value | Purpose |
|---|---|---|
CapInvoke |
0x01 | Call any Janus function |
CapSpawn |
0x02 | Create new grains |
CapAlloc |
0x04 | Direct memory allocation |
CapLog |
0x08 | Write to Janus logger |
CapQuery |
0x10 | Read grain state |
Panopticum Layout
janus-sdk-go/
├── janus/
│ ├── janus.go # Sovereign index
│ ├── bindings.go # CGO bindings
│ └── janus_test.go # Tests
└── examples/
Note
For official Janus tooling, see janus-sdk/ (C reference implementation).
This exists as a community exploration of Go ↔ Janus interop.
Community Maintained — Not affiliated with Janus core team