errorf records an error in s's event log, unless s has been stopped. REQUIRES s.mu is held.
(format string, a ...any)
| 746 | // errorf records an error in s's event log, unless s has been stopped. |
| 747 | // REQUIRES s.mu is held. |
| 748 | func (s *Server) errorf(format string, a ...any) { |
| 749 | if s.events != nil { |
| 750 | s.events.Errorf(format, a...) |
| 751 | } |
| 752 | } |
| 753 | |
| 754 | // ServiceRegistrar wraps a single method that supports service registration. It |
| 755 | // enables users to pass concrete types other than grpc.Server to the service |
no test coverage detected