server is used to implement helloworld.GreeterServer.
| 39 | |
| 40 | // server is used to implement helloworld.GreeterServer. |
| 41 | type server struct { |
| 42 | pb.UnimplementedGreeterServer |
| 43 | mu sync.Mutex |
| 44 | count map[string]int |
| 45 | } |
| 46 | |
| 47 | // SayHello implements helloworld.GreeterServer |
| 48 | func (s *server) SayHello(_ context.Context, in *pb.HelloRequest) (*pb.HelloReply, error) { |
nothing calls this directly
no outgoing calls
no test coverage detected