您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
 
 
 
Andrea Spacca ec086b4eb3 Bump google.golang.org/api 5 年前
..
client Bump google.golang.org/api 5 年前
server Bump google.golang.org/api 5 年前
README.md Bump google.golang.org/api 5 年前

README.md

Description

This example demonstrates the use of status details in grpc errors.

Run the sample code

Run the server:

$ go run ./server/main.go

Then run the client in another terminal:

$ go run ./client/main.go

It should succeed and print the greeting it received from the server. Then run the client again:

$ go run ./client/main.go

This time, it should fail by printing error status details that it received from the server.