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

Method addChild

internal/channelz/channelmap.go:31–31  ·  view source on GitHub ↗

addChild adds a child e, whose channelz id is id to child list

(id int64, e entry)

Source from the content-addressed store, hash-verified

29type entry interface {
30 // addChild adds a child e, whose channelz id is id to child list
31 addChild(id int64, e entry)
32 // deleteChild deletes a child with channelz id to be id from child list
33 deleteChild(id int64)
34 // triggerDelete tries to delete self from channelz database. However, if

Callers 3

addChannelMethod · 0.65
addSubChannelMethod · 0.65
addSocketMethod · 0.65

Implementers 5

Serverinternal/channelz/server.go
dummyEntryinternal/channelz/channelmap.go
Socketinternal/channelz/socket.go
Channelinternal/channelz/channel.go
SubChannelinternal/channelz/subchannel.go

Calls

no outgoing calls

Tested by

no test coverage detected