grpc-go/examples/features/metadata
Menghan Li 463950a151
internal: example flag.Parse() and comments (#2526)
2018-12-20 12:43:38 -08:00
..
client internal: example flag.Parse() and comments (#2526) 2018-12-20 12:43:38 -08:00
server internal: example flag.Parse() and comments (#2526) 2018-12-20 12:43:38 -08:00
README.md examples: metadata (#2500) 2018-12-13 14:45:14 -08:00

README.md

Metadata example

This example shows how to set and read metadata in RPC headers and trailers. Please see grpc-metadata.md for more information.

Start the server

go run server/main.go

Run the client

go run client/main.go