aboutsummaryrefslogtreecommitdiff
path: root/internal/watcher/watcher.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/watcher/watcher.go')
-rw-r--r--internal/watcher/watcher.go21
1 files changed, 21 insertions, 0 deletions
diff --git a/internal/watcher/watcher.go b/internal/watcher/watcher.go
new file mode 100644
index 0000000..5465554
--- /dev/null
+++ b/internal/watcher/watcher.go
@@ -0,0 +1,21 @@
+package watcher
+
+import "context"
+
+type Watcher struct {
+ config Config
+}
+
+func New(config Config) *Watcher {
+ return &Watcher{
+ config: config,
+ }
+}
+
+// Run starts the watcher.
+//
+// Placeholder implementation.
+func (w *Watcher) Run(ctx context.Context) error {
+ <-ctx.Done()
+ return nil
+}