Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/cortexproject/cortex
/ Stop
Method
Stop
tools/querytee/proxy.go:197–203 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
195
}
196
197
func
(p *Proxy) Stop() error {
198
if
p.srv == nil {
199
return
nil
200
}
201
202
return
p.srv.Shutdown(context.Background())
203
}
204
205
func
(p *Proxy) Await() {
206
// Wait until terminated.
Callers
2
Test_Proxy_RequestsForwarding
Function · 0.95
TestProxy_Passthrough
Function · 0.95
Calls
1
Shutdown
Method · 0.80
Tested by
2
Test_Proxy_RequestsForwarding
Function · 0.76
TestProxy_Passthrough
Function · 0.76