mirror of https://github.com/status-im/consul.git
Fix Type in go integration (#5132)
Fix Typo in second example From svc.ServeTLSConfig() to svc.ServerTLSConfig()
This commit is contained in:
parent
3d0b7850db
commit
517fa5edd4
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue