kvm/internal/native/proto
Aveline 5717761d16 feat: move native to a separate process, again (#964) 2025-11-19 15:15:28 +00:00
..
README.md feat: move native to a separate process, again (#964) 2025-11-19 15:15:28 +00:00
native.pb.go feat: move native to a separate process, again (#964) 2025-11-19 15:15:28 +00:00
native.proto feat: move native to a separate process, again (#964) 2025-11-19 15:15:28 +00:00
native_grpc.pb.go feat: move native to a separate process, again (#964) 2025-11-19 15:15:28 +00:00

README.md

Proto Files

This directory contains the Protocol Buffer definitions for the native service.

Generating Code

To generate the Go code from the proto files, run:

./scripts/generate_proto.sh

Or manually:

protoc \
    --go_out=. \
    --go_opt=paths=source_relative \
    --go-grpc_out=. \
    --go-grpc_opt=paths=source_relative \
    internal/native/proto/native.proto

Prerequisites

  • protoc - Protocol Buffer compiler
  • protoc-gen-go - Go plugin for protoc (install with: go install google.golang.org/protobuf/cmd/protoc-gen-go@latest)
  • protoc-gen-go-grpc - gRPC Go plugin for protoc (install with: go install google.golang.org/grpc/cmd/protoc-gen-go-grpc@latest)

Note

The current native.pb.go and native_grpc.pb.go files are placeholder/stub files. They should be regenerated from native.proto using the commands above.