Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/IBM/sarama
/ Enable
Method
Enable
internal/toxiproxy/proxy.go:61–65 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
59
}
60
61
func
(p *Proxy) Enable() error {
62
p.Enabled = true
63
_, err := p.Save()
64
return
err
65
}
66
67
func
(p *Proxy) Disable() error {
68
p.Enabled = false
Callers
2
TestFuncProducingIdempotentWithBrokerFailure
Function · 0.80
TestAsyncProducerRemoteBrokerClosed
Function · 0.80
Calls
1
Save
Method · 0.95
Tested by
2
TestFuncProducingIdempotentWithBrokerFailure
Function · 0.64
TestAsyncProducerRemoteBrokerClosed
Function · 0.64