Skip to content

Commit e2d1b74

Browse files
committed
document reconfigurer
1 parent 38aba65 commit e2d1b74

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

reconfigurer/reconfigurer.go

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1+
// Package reconfigurer is responsible for providing configuration state to a
2+
// watcher. It may acquire that state from somewhere such as a Git repository or
3+
// an API. When state needs to be updated, a configuration provider will call
4+
// the Watcher's SetState method. The state transition is then the reponsibility
5+
// of the watcher. All a configuration provider does is acquire configuration
6+
// from some source and ensure it's valid. Providers may store a fallback state
7+
// if validation fails to ensure reliability.
18
package reconfigurer
29

310
import (

0 commit comments

Comments
 (0)