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

Function authIDSet

internal/watcher/clients.go:332–338  ·  view source on GitHub ↗
(auths map[string]*coreauth.Auth)

Source from the content-addressed store, hash-verified

330}
331
332func authIDSet(auths map[string]*coreauth.Auth) map[string]*coreauth.Auth {
333 set := make(map[string]*coreauth.Auth, len(auths))
334 for id := range auths {
335 set[id] = nil
336 }
337 return set
338}
339
340func (w *Watcher) loadFileClients(cfg *config.Config) int {
341 authFileCount := 0

Callers 2

reloadClientsMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected