example

module
v0.0.0-...-2010752 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 8, 2025 License: Apache-2.0

README

ttRPC Tracing Example

Traces unary client and server calls via interceptors.

Compile Example Client and Server
make
Run server
./example-server
Run client
./example-client
Generate Protobuf Go and ttRPC bindings

If you modify the example protobuf definitions (api/hello-service.proto), you need to regenerate the corresponding golang/ttRPC bindings.

# Install protoc and its dependencies if you don't have them yet.
make install-protoc install-protoc-dependencies install-ttrpc-plugin
# Regenerate golang/ttRPC bindings, recompile client and server.
make

Directories

Path Synopsis
Code generated by protoc-gen-go-ttrpc.
Code generated by protoc-gen-go-ttrpc.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL