-
Notifications
You must be signed in to change notification settings - Fork 0
Closed
Labels
bugSomething isn't workingSomething isn't workingdocumentationImprovements or additions to documentationImprovements or additions to documentation
Description
Overview
The redis-cloud and redis-enterprise library READMEs have outdated examples that don't match the current API.
Issues Found
-
redis-cloud/README.md:
- Shows old API methods like
list_subscriptionsinstead of handler pattern - Missing examples of using handlers
- Config structure doesn't match current implementation
- Shows old API methods like
-
redis-enterprise/README.md:
- Shows old API methods like
get_cluster_infoinstead of handler pattern - Missing builder pattern examples
- Doesn't show current client initialization
- Shows old API methods like
Tasks
- Update redis-cloud README with current API examples
- Update redis-enterprise README with current API examples
- Add more comprehensive usage examples
- Document all available handlers
- Add authentication configuration examples
- Add error handling examples
- Update version numbers to match crates.io
Current API Pattern
// Cloud
let client = CloudClient::new("api_key", "api_secret")?;
let subscriptions = client.subscription().list().await?;
// Enterprise
let client = EnterpriseClient::builder()
.url("https://cluster:9443")
.username("admin")
.password("password")
.insecure(true)
.build()?;
let cluster = client.cluster().get().await?;Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingdocumentationImprovements or additions to documentationImprovements or additions to documentation