MCPcopy
hub / github.com/CodisLabs/codis / UpdateProxy

Method UpdateProxy

pkg/models/store.go:234–236  ·  view source on GitHub ↗
(p *Proxy)

Source from the content-addressed store, hash-verified

232}
233
234func (s *Store) UpdateProxy(p *Proxy) error {
235 return s.client.Update(s.ProxyPath(p.Token), p.Encode())
236}
237
238func (s *Store) DeleteProxy(token string) error {
239 return s.client.Delete(s.ProxyPath(token))

Callers 3

storeCreateProxyMethod · 0.80
storeUpdateProxyMethod · 0.80
handleConfigRestoreMethod · 0.80

Calls 3

ProxyPathMethod · 0.95
UpdateMethod · 0.65
EncodeMethod · 0.45

Tested by

no test coverage detected