Add comment about fsnotify

This commit is contained in:
Mariano Cano 2019-02-13 15:15:59 -08:00
parent 64cbac4e81
commit 1b344d5013
4 changed files with 8 additions and 0 deletions

View file

@ -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)

View file

@ -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)

View file

@ -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)

View file

@ -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)