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

Method GetServers

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

Gets all servers that exist in the process.

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

Source from the content-addressed store, hash-verified

61 GetTopChannels(ctx context.Context, in *GetTopChannelsRequest, opts ...grpc.CallOption) (*GetTopChannelsResponse, error)
62 // Gets all servers that exist in the process.
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.

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