MCPcopy Create free account
hub / github.com/coder/coder / loadProviderRouter

Method loadProviderRouter

enterprise/aibridgeproxyd/reload.go:94–99  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

92}
93
94func (s *Server) loadProviderRouter() *providerRouter {
95 if p := s.providerRouter.Load(); p != nil {
96 return p
97 }
98 return emptyProviderRouter
99}
100
101// mitmHostsCondition returns a goproxy ReqConditionFunc that reads the
102// MITM host set from the atomic router on every match. Using a closure

Calls 1

LoadMethod · 0.45