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

Method authUpdateKey

internal/watcher/dispatcher.go:223–228  ·  view source on GitHub ↗
(update AuthUpdate, ts int64)

Source from the content-addressed store, hash-verified

221}
222
223func (w *Watcher) authUpdateKey(update AuthUpdate, ts int64) string {
224 if update.ID != "" {
225 return update.ID
226 }
227 return fmt.Sprintf("%s:%d", update.Action, ts)
228}
229
230func (w *Watcher) dispatchLoop(ctx context.Context) {
231 for {

Callers 1

dispatchAuthUpdatesMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected