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

Method GetTopChannels

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

Gets all root channels (i.e. channels the application has directly created). This does not include subchannels nor non-top level channels.

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

Source from the content-addressed store, hash-verified

59 // Gets all root channels (i.e. channels the application has directly
60 // created). This does not include subchannels nor non-top level channels.
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.

Callers 4

channelzSubChannelsMethod · 0.95
RunChannelzFunction · 0.95
TestGetTopChannelsMethod · 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

TestGetTopChannelsMethod · 0.52