addr returns the listening address (host:port) of the TLS backend.
()
| 204 | |
| 205 | // addr returns the listening address (host:port) of the TLS backend. |
| 206 | func (b *tlsProxyProtoBackend) addr() string { |
| 207 | return b.srv.Listener.Addr().String() |
| 208 | } |
| 209 | |
| 210 | // tlsConfig returns the *tls.Config used by the backend server. |
| 211 | // Tests can use it to verify cert details if needed. |