MCPcopy
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
61func (p *Proxy) Enable() error {
62 p.Enabled = true
63 _, err := p.Save()
64 return err
65}
66
67func (p *Proxy) Disable() error {
68 p.Enabled = false

Calls 1

SaveMethod · 0.95