func (s *Say) Hello(ctx context.Context, req *hello.Request, rsp *hello.Response) error { log.Info("Received Say.Hello request") rsp.Msg = "Hello " + req.Name return nil }
// SayHello implements helloworld.GreeterServer func (s *sayServer) Hello(ctx context.Context, req *pb.Request, rsp *pb.Response) error { rsp.Msg = "Hello " + req.Name return nil }
func (s *Say) Hello(ctx context.Context, req *hello.Request, rsp *hello.Response) error { rsp.Msg = "Hey " + req.Name return nil }