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

Method GetServer

channelz/grpc_channelz_v1/channelz_grpc.pb.go:65–65  ·  view source on GitHub ↗

Returns a single Server, or else a NOT_FOUND code.

(ctx context.Context, in *GetServerRequest, opts ...grpc.CallOption)

Source from the content-addressed store, hash-verified

63 GetServers(ctx context.Context, in *GetServersRequest, opts ...grpc.CallOption) (*GetServersResponse, error)
64 // Returns a single Server, or else a NOT_FOUND code.
65 GetServer(ctx context.Context, in *GetServerRequest, opts ...grpc.CallOption) (*GetServerResponse, error)
66 // Gets all server sockets that exist in the process.
67 GetServerSockets(ctx context.Context, in *GetServerSocketsRequest, opts ...grpc.CallOption) (*GetServerSocketsResponse, error)
68 // Returns a single Channel, or else a NOT_FOUND code.

Callers 2

TestGetServersMethod · 0.65

Implementers 3

serverImplchannelz/service/service.go
channelzClientchannelz/grpc_channelz_v1/channelz_grp
UnimplementedChannelzServerchannelz/grpc_channelz_v1/channelz_grp

Calls

no outgoing calls

Tested by 1

TestGetServersMethod · 0.52