sozu-client

Crates.iosozu-client
lib.rssozu-client
version1.1.0-rc.1
sourcesrc
created_at2023-07-24 11:39:35.629106
updated_at2024-10-21 12:39:00.950644
descriptionThis library provides a client to interact with Sōzu.
homepage
repositoryhttps://github.com/CleverCloud/sozu-client
max_upload_size
id924506
size48,657
oss (github:clevercloud:oss)

documentation

https://github.com/CleverCloud/sozu-client/blob/main/README.md

README

Sōzu client

This repository exposes a client to interact with Sōzu. It allows to send one request at a time or batching them using the LoadState commands.

Status

This client is under development, you can use it, but it may have bugs.

Installation

To install this dependency, just add the following line to your Cargo.toml manifest.

sozu-client = "^0.2.0"

Usage

You can use the client like this:

let opts = ConnectionProperties::try_from(&PathBuf::from("path/to/sozu-configuration.toml")).unwrap();
let client = Client::try_new(opts).await.unwrap();

client.send(RequestType::LoadState(...)).await.unwrap();

Contributing

See CONTRIBUTING.md and CODE_OF_CONDUCT.md files.

License

See the LICENSE file.

Getting in touch

Commit count: 51

cargo fmt