MCPcopy Index your code
hub / github.com/coder/coder / Close

Method Close

enterprise/cli/aibridgeproxyd.go:31–36  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

29}
30
31func (d *aiBridgeProxyDaemon) Close() error {
32 if d.unsubscribe != nil {
33 d.unsubscribe()
34 }
35 return d.server.Close()
36}
37
38// newAIBridgeProxyDaemon starts the enterprise aibridge proxy daemon,
39// subscribes to ai_providers changes so the proxy's routing snapshot

Callers

nothing calls this directly

Calls 2

unsubscribeMethod · 0.80
CloseMethod · 0.65

Tested by

no test coverage detected