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

Method GetSubchannel

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

Returns a single Subchannel, or else a NOT_FOUND code.

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

Source from the content-addressed store, hash-verified

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.
73 GetSocket(ctx context.Context, in *GetSocketRequest, opts ...grpc.CallOption) (*GetSocketResponse, error)
74}

Callers 3

channelzSubChannelsMethod · 0.95
TestGetSubChannelMethod · 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

TestGetSubChannelMethod · 0.52