google.golang.org/grpc/internal/channelz.channelMap.listenSockets (field)
9 uses
google.golang.org/grpc/internal/channelz (current package)
funcs.go#L110: listenSockets: make(map[int64]*listenSocket),
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#L327: listenSockets map[int64]*listenSocket
funcs.go#L363: c.listenSockets[id] = ls
funcs.go#L408: if v, ok = c.listenSockets[id]; ok {
funcs.go#L438: if _, ok = c.listenSockets[id]; ok {
funcs.go#L439: delete(c.listenSockets, id)
funcs.go#L694: if ls, ok := c.listenSockets[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. |