Fix Type in go integration (#5132)

Fix Typo in second example
From svc.ServeTLSConfig() to svc.ServerTLSConfig()
This commit is contained in:
Tayyab Talha 2019-01-03 20:39:23 +05:00 committed by Matt Keeler
parent 3d0b7850db
commit 517fa5edd4
1 changed files with 1 additions and 1 deletions

View File

@ -104,7 +104,7 @@ func main() {
defer svc.Close()
// Creating an HTTP server that serves via Connect
listener, _ := tls.Listen("tcp", ":8080", svc.ServeTLSConfig())
listener, _ := tls.Listen("tcp", ":8080", svc.ServerTLSConfig())
defer listener.Close()
// Accept