google.golang.org/grpc/internal/channelz.channelMap.subChannels (field)
9 uses
google.golang.org/grpc/internal/channelz (current package)
funcs.go#L113: subChannels: make(map[int64]*subChannel),
funcs.go#L124: if len(cm.topLevelChannels) == 0 && len(cm.servers) == 0 && len(cm.channels) == 0 && len(cm.subChannels) == 0 && len(cm.listenSockets) == 0 && len(cm.normalSockets) == 0 {
funcs.go#L134: err = fmt.Errorf("after 10s the channelz map has not been cleaned up yet, topchannels: %d, servers: %d, channels: %d, subchannels: %d, listen sockets: %d, normal sockets: %d", len(cm.topLevelChannels), len(cm.servers), len(cm.channels), len(cm.subChannels), len(cm.listenSockets), len(cm.normalSockets))
funcs.go#L326: subChannels map[int64]*subChannel
funcs.go#L355: c.subChannels[id] = sc
funcs.go#L402: if v, ok = c.subChannels[id]; ok {
funcs.go#L429: if _, ok = c.subChannels[id]; ok {
funcs.go#L430: delete(c.subChannels, id)
funcs.go#L674: if sc, ok = c.subChannels[id]; !ok {
 |
The pages are generated with Golds v0.3.2-preview. (GOOS=darwin GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |