MCPcopy Create free account
hub / github.com/ByteStorage/FlyDB / newListGrpcClient

Function newListGrpcClient

engine/grpc/client/client.go:36–43  ·  view source on GitHub ↗
(addr string)

Source from the content-addressed store, hash-verified

34}
35
36func newListGrpcClient(addr string) (glist.GListServiceClient, error) {
37 conn, err := grpc.Dial(addr, grpc.WithTransportCredentials(insecure.NewCredentials()))
38 if err != nil {
39 return nil, err
40 }
41 client := glist.NewGListServiceClient(conn)
42 return client, nil
43}
44
45func newSetGrpcClient(addr string) (gset.GSetServiceClient, error) {
46 conn, err := grpc.Dial(addr, grpc.WithTransportCredentials(insecure.NewCredentials()))

Callers 12

LPushMethod · 0.85
LPushsMethod · 0.85
RPushMethod · 0.85
RPushsMethod · 0.85
LPopMethod · 0.85
RPopMethod · 0.85
LRangeMethod · 0.85
LLenMethod · 0.85
LRemMethod · 0.85
LIndexMethod · 0.85
LSetMethod · 0.85
LTrimMethod · 0.85

Calls 1

NewGListServiceClientFunction · 0.92

Tested by

no test coverage detected