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

Method GetName

channelz/grpc_channelz_v1/channelz.pb.go:831–836  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

829}
830
831func (x *SocketRef) GetName() string {
832 if x != nil {
833 return x.Name
834 }
835 return ""
836}
837
838// ServerRef is a reference to a Server.
839type ServerRef struct {

Callers 2

TestGetChannelMethod · 0.45
TestGetSubChannelMethod · 0.45

Calls

no outgoing calls

Tested by 2

TestGetChannelMethod · 0.36
TestGetSubChannelMethod · 0.36