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

This commit is contained in:
lyuxuan
2018-05-22 13:32:02 -07:00
committed by GitHub
parent c16e07b130
commit 7cc2837209
19 changed files with 881 additions and 24 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(),
}
}