Module s3handler::blocking

source ·
Expand description

Initilize S3 handler to manipulate objects and buckets

let config = s3handler::CredentialConfig{
    host: "s3.us-east-1.amazonaws.com".to_string(),
    access_key: "akey".to_string(),
    secret_key: "skey".to_string(),
    user: None,
    region: None, // default is us-east-1
    s3_type: None, // default will try to config as AWS S3 handler
    secure: None, // dafault is false, because the integrity protect by HMAC
};
let mut handler = s3handler::Handler::from(&config);
let _ = handler.la();

Re-exports

pub use crate::utils::UrlStyle;

Modules

Structs

The struct for credential config for each S3 cluster
The struct for generate the request

Enums

The signature type of Authentication
The response format