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

Struct UnimplementedChannelzServer

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

UnimplementedChannelzServer should be embedded to have forward compatible implementations. NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.

Source from the content-addressed store, hash-verified

181// NOTE: this should be embedded by value instead of pointer to avoid a nil
182// pointer dereference when methods are called.
183type UnimplementedChannelzServer struct{}
184
185func (UnimplementedChannelzServer) GetTopChannels(context.Context, *GetTopChannelsRequest) (*GetTopChannelsResponse, error) {
186 return nil, status.Error(codes.Unimplemented, "method GetTopChannels not implemented")

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected