diff --git a/autocert/examples/hello-mtls/go-grpc/client/client.go b/autocert/examples/hello-mtls/go-grpc/client/client.go index 33fc6273..00a308ec 100644 --- a/autocert/examples/hello-mtls/go-grpc/client/client.go +++ b/autocert/examples/hello-mtls/go-grpc/client/client.go @@ -122,6 +122,8 @@ func main() { } // Schedule periodic re-load of certificate + // A real implementation can use something like + // https://github.com/fsnotify/fsnotify done := make(chan struct{}) go func() { ticker := time.NewTicker(tickFrequency) diff --git a/autocert/examples/hello-mtls/go-grpc/server/server.go b/autocert/examples/hello-mtls/go-grpc/server/server.go index 4c4bed38..c233d010 100644 --- a/autocert/examples/hello-mtls/go-grpc/server/server.go +++ b/autocert/examples/hello-mtls/go-grpc/server/server.go @@ -115,6 +115,8 @@ func main() { } // Schedule periodic re-load of certificate + // A real implementation can use something like + // https://github.com/fsnotify/fsnotify done := make(chan struct{}) go func() { ticker := time.NewTicker(tickFrequency) diff --git a/autocert/examples/hello-mtls/go/client/client.go b/autocert/examples/hello-mtls/go/client/client.go index 0d2da881..98389cab 100644 --- a/autocert/examples/hello-mtls/go/client/client.go +++ b/autocert/examples/hello-mtls/go/client/client.go @@ -101,6 +101,8 @@ func main() { } // Schedule periodic re-load of certificate + // A real implementation can use something like + // https://github.com/fsnotify/fsnotify done := make(chan struct{}) go func() { ticker := time.NewTicker(tickFrequency) diff --git a/autocert/examples/hello-mtls/go/server/server.go b/autocert/examples/hello-mtls/go/server/server.go index 6413b796..6888da26 100644 --- a/autocert/examples/hello-mtls/go/server/server.go +++ b/autocert/examples/hello-mtls/go/server/server.go @@ -106,6 +106,8 @@ func main() { } // Schedule periodic re-load of certificate + // A real implementation can use something like + // https://github.com/fsnotify/fsnotify done := make(chan struct{}) go func() { ticker := time.NewTicker(tickFrequency)