the runtime framework for the NEVR service.
This codebase defines the runtime API and protocol interface used by NEVR
It is tightly integrated with components of Nakama, and is structured similarly to the heroiclabs/nakama-common repository.
The code is broken up into packages for different parts:
proto- protobuf definitions for GRPC, HTTP, and Realtime protocols.gen- generated source code for various languages.common: Shared utilities and types used across the codebase.
Protocol Buffer files have already been generated and are included in the repository. To use them in your project:
- 
Go: Import the generated Go packages directly in your project. Example:
import "github.com/echotools/nevr-common/rtapi"
 - 
Python: Use the generated
.pyfiles in your Python project. Example:from api import api_pb
 - 
CSharp: Reference the generated
.csfiles in your C# project. Example:using Api;
 
No additional code generation is required unless you modify the .proto files.
buf generateTo generate all source files with Make, run:
./build.shTo generate all Go source files, run:
env PATH="$HOME/go/bin:$PATH" go generate -x ./...These steps have been tested with the Go 1.24 toolchain. Earlier Go toolchain versions may work though YMMV.