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

Method DispatchRuntimeAuthUpdate

sdk/cliproxy/types.go:153–158  ·  view source on GitHub ↗

DispatchRuntimeAuthUpdate forwards runtime auth updates (e.g., websocket providers) into the watcher-managed auth update queue when available. Returns true if the update was enqueued successfully.

(update watcher.AuthUpdate)

Source from the content-addressed store, hash-verified

151// into the watcher-managed auth update queue when available.
152// Returns true if the update was enqueued successfully.
153func (w *WatcherWrapper) DispatchRuntimeAuthUpdate(update watcher.AuthUpdate) bool {
154 if w == nil || w.dispatchRuntimeUpdate == nil {
155 return false
156 }
157 return w.dispatchRuntimeUpdate(update)
158}
159
160// DispatchPersistedAuthUpdate forwards already-persisted file auth updates.
161func (w *WatcherWrapper) DispatchPersistedAuthUpdate(update watcher.AuthUpdate) bool {

Callers 1

emitAuthUpdateMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected