channelz: stage 4 - add security and socket option info (#2098)

This commit is contained in:
lyuxuan
2018-06-05 13:50:19 -07:00
committed by GitHub
parent 4344c204c9
commit c1a21e22a6
24 changed files with 1121 additions and 73 deletions

View File

@ -481,7 +481,8 @@ type listenSocket struct {
func (l *listenSocket) ChannelzMetric() *channelz.SocketInternalMetric {
return &channelz.SocketInternalMetric{
LocalAddr: l.Listener.Addr(),
SocketOptions: channelz.GetSocketOption(l.Listener),
LocalAddr: l.Listener.Addr(),
}
}