confwatcher

package
v1.20.1-soundar.7 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 20, 2026 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

Package confwatcher contains a configuration watcher.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ConfWatcher

type ConfWatcher struct {
	FilePath string
	// contains filtered or unexported fields
}

ConfWatcher is a configuration file watcher.

func (*ConfWatcher) Close

func (w *ConfWatcher) Close()

Close closes a ConfWatcher.

func (*ConfWatcher) Initialize

func (w *ConfWatcher) Initialize() error

Initialize initializes a ConfWatcher.

func (*ConfWatcher) Watch

func (w *ConfWatcher) Watch() chan struct{}

Watch returns a channel that is called after the configuration file has changed.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL