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

Method getSlow

pkg/utils/redis/client.go:492–499  ·  view source on GitHub ↗
(addr string)

Source from the content-addressed store, hash-verified

490}
491
492func (s *InfoCache) getSlow(addr string) (map[string]string, error) {
493 c, err := NewClient(addr, s.Auth, s.Timeout)
494 if err != nil {
495 return nil, err
496 }
497 defer c.Close()
498 return c.Info()
499}

Callers 1

GetMethod · 0.95

Calls 3

CloseMethod · 0.95
InfoMethod · 0.95
NewClientFunction · 0.70

Tested by

no test coverage detected