object_storage_lib/config.rs
1use serde::{Deserialize, Serialize};
2use tihu::LightString;
3
4#[derive(Serialize, Deserialize, Clone, Debug)]
5pub struct Oss {
6 pub access_key: LightString,
7 pub secret_key: LightString,
8 pub endpoint: LightString,
9 pub region: LightString,
10 pub bucket: LightString,
11}
12
13#[derive(Serialize, Deserialize, Debug)]
14pub struct Config {
15 pub oss: Oss,
16}