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

Method NestedChans

internal/channelz/channel.go:78–82  ·  view source on GitHub ↗

NestedChans returns a copy of the map of nested channels associated with the Channel.

()

Source from the content-addressed store, hash-verified

76// NestedChans returns a copy of the map of nested channels associated with the
77// Channel.
78func (c *Channel) NestedChans() map[int64]string {
79 db.mu.RLock()
80 defer db.mu.RUnlock()
81 return copyMap(c.nestedChans)
82}
83
84// Trace returns a copy of the Channel's trace data.
85func (c *Channel) Trace() *ChannelTrace {

Calls 1

copyMapFunction · 0.70