MCPcopy Create free account
hub / github.com/chainreactors/EvilProxy / Start

Method Start

internal/watcher/watcher.go:123–125  ·  view source on GitHub ↗

Start begins watching the configuration file and authentication directory

(ctx context.Context)

Source from the content-addressed store, hash-verified

121
122// Start begins watching the configuration file and authentication directory
123func (w *Watcher) Start(ctx context.Context) error {
124 return w.start(ctx)
125}
126
127// Stop stops the file watcher
128func (w *Watcher) Stop() error {

Callers 4

TestStartAndStopSuccessFunction · 0.95
defaultWatcherFactoryFunction · 0.95

Calls 1

startMethod · 0.95

Tested by 3

TestStartAndStopSuccessFunction · 0.76