MCPcopy
hub / github.com/grpc/grpc-go / Server

Struct Server

internal/channelz/server.go:27–38  ·  view source on GitHub ↗

Server is the channelz representation of a server.

Source from the content-addressed store, hash-verified

25
26// Server is the channelz representation of a server.
27type 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.
41type ServerMetrics struct {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected