Server is the channelz representation of a server.
| 25 | |
| 26 | // Server is the channelz representation of a server. |
| 27 | type Server struct { |
| 28 | Entity |
| 29 | ID int64 |
| 30 | RefName string |
| 31 | |
| 32 | ServerMetrics ServerMetrics |
| 33 | |
| 34 | closeCalled bool |
| 35 | sockets map[int64]string |
| 36 | listenSockets map[int64]string |
| 37 | cm *channelMap |
| 38 | } |
| 39 | |
| 40 | // ServerMetrics defines a struct containing metrics for servers. |
| 41 | type ServerMetrics struct { |
nothing calls this directly
no outgoing calls
no test coverage detected