(_ context.Context, in *pb.EchoRequest)
| 42 | } |
| 43 | |
| 44 | func (s *server) UnaryEcho(_ context.Context, in *pb.EchoRequest) (*pb.EchoResponse, error) { |
| 45 | fmt.Printf("UnaryEcho called with message %q\n", in.GetMessage()) |
| 46 | return &pb.EchoResponse{Message: in.Message}, nil |
| 47 | } |
| 48 | |
| 49 | func main() { |
| 50 | flag.Parse() |
nothing calls this directly
no test coverage detected