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

Function GetSocket

internal/channelz/funcs.go:101–103  ·  view source on GitHub ↗

GetSocket returns the Socket for the socket (identified by id).

(id int64)

Source from the content-addressed store, hash-verified

99
100// GetSocket returns the Socket for the socket (identified by id).
101func GetSocket(id int64) *Socket {
102 return db.getSocket(id)
103}
104
105// GetServer returns the ServerMetric for the server (identified by id).
106func GetServer(id int64) *Server {

Calls 1

getSocketMethod · 0.80