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

Method GetChannel

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

Returns a single Channel, or else a NOT_FOUND code.

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

Source from the content-addressed store, hash-verified

67 GetServerSockets(ctx context.Context, in *GetServerSocketsRequest, opts ...grpc.CallOption) (*GetServerSocketsResponse, error)
68 // Returns a single Channel, or else a NOT_FOUND code.
69 GetChannel(ctx context.Context, in *GetChannelRequest, opts ...grpc.CallOption) (*GetChannelResponse, error)
70 // Returns a single Subchannel, or else a NOT_FOUND code.
71 GetSubchannel(ctx context.Context, in *GetSubchannelRequest, opts ...grpc.CallOption) (*GetSubchannelResponse, error)
72 // Returns a single Socket or else a NOT_FOUND code.

Callers 3

TestGetTopChannelsMethod · 0.65
TestGetChannelMethod · 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 2

TestGetTopChannelsMethod · 0.52
TestGetChannelMethod · 0.52