google.golang.org/grpc/internal/channelz.channelMap.normalSockets (field)
10 uses
google.golang.org/grpc/internal/channelz (current package)
funcs.go#L111: normalSockets: make(map[int64]*normalSocket),
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#L328: normalSockets map[int64]*normalSocket
funcs.go#L371: c.normalSockets[id] = ns
funcs.go#L411: if v, ok = c.normalSockets[id]; ok {
funcs.go#L425: if _, ok = c.normalSockets[id]; ok {
funcs.go#L426: delete(c.normalSockets, id)
funcs.go#L622: if ns, ok := c.normalSockets[v]; ok {
funcs.go#L701: if ns, ok := c.normalSockets[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. |