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

Method applyAccessConfig

internal/api/server.go:1589–1596  ·  view source on GitHub ↗
(oldCfg, newCfg *config.Config)

Source from the content-addressed store, hash-verified

1587}
1588
1589func (s *Server) applyAccessConfig(oldCfg, newCfg *config.Config) {
1590 if s == nil || s.accessManager == nil || newCfg == nil {
1591 return
1592 }
1593 if _, err := access.ApplyAccessProviders(s.accessManager, oldCfg, newCfg); err != nil {
1594 return
1595 }
1596}
1597
1598// UpdateClients updates the server's client list and configuration.
1599// This method is called when the configuration or authentication tokens change.

Callers 2

NewServerFunction · 0.95
UpdateClientsMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected