MCPcopy Create free account
hub / github.com/IceFireDB/IceFireDB / Dial

Function Dial

IceFireDB-Redis-Proxy/test/proto/client.go:15–25  ·  view source on GitHub ↗
(addr string)

Source from the content-addressed store, hash-verified

13}
14
15func Dial(addr string) (*Client, error) {
16 c, err := net.Dial("tcp", addr)
17 if err != nil {
18 return nil, err
19 }
20
21 return &Client{
22 c: c,
23 r: bufio.NewReader(c),
24 }, nil
25}
26
27func DialTLS(addr string, cfg *tls.Config) (*Client, error) {
28 c, err := tls.Dial("tcp", addr, cfg)

Callers 15

TestSaddFunction · 0.92
TestSismemberFunction · 0.92
TestSremFunction · 0.92
TestSpopFunction · 0.92
TestSrandmemberFunction · 0.92
TestSscanFunction · 0.92
TestSortedSetFunction · 0.92
TestSortedSetAddFunction · 0.92
TestSortedSetRangeFunction · 0.92
TestIssue10Function · 0.92
TestSortedSetRemFunction · 0.92

Calls

no outgoing calls

Tested by 15

TestSaddFunction · 0.74
TestSismemberFunction · 0.74
TestSremFunction · 0.74
TestSpopFunction · 0.74
TestSrandmemberFunction · 0.74
TestSscanFunction · 0.74
TestSortedSetFunction · 0.74
TestSortedSetAddFunction · 0.74
TestSortedSetRangeFunction · 0.74
TestIssue10Function · 0.74
TestSortedSetRemFunction · 0.74