mochow_sdk_rust/mochow/
mod.rs

1/*
2 * Copyright 2024 Baidu, Inc.
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file
5 * except in compliance with the License. You may obtain a copy of the License at
6 *
7 * http://www.apache.org/licenses/LICENSE-2.0
8 *
9 * Unless required by applicable law or agreed to in writing, software distributed under the
10 * License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
11 * either express or implied. See the License for the specific language governing permissions
12 * and limitations under the License.
13 */
14pub mod api;
15
16#[allow(dead_code)]
17pub mod client;
18
19pub mod config;
20
21#[cfg(test)]
22lazy_static::lazy_static! {
23    pub static ref TESTACCOUNT: String = "your_account".to_string();
24    pub static ref TESTPASSWORD: String = "your_password".to_string();
25    pub static ref TESTENDPOINT: String = "http://127.0.0.1:5288".to_string();
26    pub static ref TESTDATABSE: String = "book".to_string();
27    pub static ref TESTTABLE: String = "book_segments".to_string();
28    pub static ref UTCLIENT: crate::mochow::client::MochowClient = crate::mochow::client::MochowClient::new(&TESTACCOUNT, &TESTPASSWORD, &TESTENDPOINT).unwrap();
29}