MCPcopy Index your code
hub / github.com/CodisLabs/codis / NewClientNoAuth

Function NewClientNoAuth

pkg/utils/redis/client.go:31–33  ·  view source on GitHub ↗
(addr string, timeout time.Duration)

Source from the content-addressed store, hash-verified

29}
30
31func NewClientNoAuth(addr string, timeout time.Duration) (*Client, error) {
32 return NewClient(addr, "", timeout)
33}
34
35func NewClient(addr string, auth string, timeout time.Duration) (*Client, error) {
36 c, err := redigo.Dial("tcp", addr, []redigo.DialOption{

Callers 2

doMethod · 0.85
dispatchMethod · 0.85

Calls 1

NewClientFunction · 0.70

Tested by

no test coverage detected