MCPcopy Create free account
hub / github.com/OpenIoTHub/server-go / UpdateHttpProxyByMap

Method UpdateHttpProxyByMap

manager/httpProxyStorage.go:57–61  ·  view source on GitHub ↗
(HttpProxyMap map[string]*HttpProxy)

Source from the content-addressed store, hash-verified

55}
56
57func (sm *SessionsManager) UpdateHttpProxyByMap(HttpProxyMap map[string]*HttpProxy) {
58 for _, hp := range HttpProxyMap {
59 sm.AddOrUpdateHttpProxy(hp)
60 }
61}

Callers

nothing calls this directly

Calls 1

AddOrUpdateHttpProxyMethod · 0.95

Tested by

no test coverage detected