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

Method genID

internal/channelz/funcs.go:220–222  ·  internal/channelz/funcs.go::IDGenerator.genID
()

Source from the content-addressed store, hash-verified

218}
219
220func (i *IDGenerator) genID() int64 {
221 return atomic.AddInt64(&i.id, 1)
222}
223
224// Identifier is an opaque channelz identifier used to expose channelz symbols
225// outside of grpc. Currently only implemented by Channel since no other

Callers 4

RegisterChannelFunction · 0.80
RegisterSubChannelFunction · 0.80
RegisterServerFunction · 0.80
RegisterSocketFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected