Add comment about fsnotify

pull/33/head
Mariano Cano 5 years ago
parent 64cbac4e81
commit 1b344d5013

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

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

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

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

Loading…
Cancel
Save