https://github.com/onesignal/zk-4lw
ZooKeeper Four Letter Word Client Library for Rust
https://github.com/onesignal/zk-4lw
rust zookeeper
Last synced: 12 months ago
JSON representation
ZooKeeper Four Letter Word Client Library for Rust
- Host: GitHub
- URL: https://github.com/onesignal/zk-4lw
- Owner: OneSignal
- License: apache-2.0
- Created: 2018-02-23T23:46:26.000Z (almost 8 years ago)
- Default Branch: main
- Last Pushed: 2021-06-02T20:28:28.000Z (over 4 years ago)
- Last Synced: 2025-02-16T16:56:18.791Z (12 months ago)
- Topics: rust, zookeeper
- Language: Rust
- Size: 8.79 KB
- Stars: 1
- Watchers: 33
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE-APACHE
Awesome Lists containing this project
README
zk-4lw
======
ZooKeeper Four Letter Words Client Library
## Examples
```rust
use zk_4lw::{Client, Mntr};
// Create a client for ZooKeeper
let client = Client::new("localhost:2181");
// Run the "mntr" command
let res: ::zk_4lw::mntr::Response = client.exec::().unwrap();
```
## Run the tests
Static tests can be run with a simple `cargo test`. Additionally, commands can
be run against a ZooKeeper instance with `cargo test --features with-client`.