|
|
@ -39,7 +39,7 @@ func Set(key, value string, ttl uint64, url ...string) (uint64, error) { |
|
|
|
} |
|
|
|
defer conn.Close() |
|
|
|
|
|
|
|
req := &SetRequest{proto.String(key), proto.String(value),proto.Uint64(ttl) nil} |
|
|
|
req := &SetRequest{proto.String(key), proto.String(value), proto.Uint64(ttl), nil} |
|
|
|
|
|
|
|
res := &SetResponse{} |
|
|
|
|
|
|
|