genkiroid / cert

Cert is the Go tool to get TLS certificate information.
MIT License
245 stars 37 forks source link

Add IP field to a Cert #7

Closed genkiroid closed 7 years ago

genkiroid commented 7 years ago

Add IP field to a Cert.

https://github.com/genkiroid/cert/blob/701b1515476cf291422267ca2b47aa4dc1595af0/cert.go#L37

IP is string value of remote address in tls connection. IP has only ip address part, not has port.