Files
imks/lib.rs
T
zhenyi e72866db8d feat(config): integrate etcd for service discovery and config management
- Add etcd-client dependency for distributed configuration storage
- Implement EtcdConfig with priority: etcd > environment variables > defaults
- Add ServiceRegistry for service registration with lease keep-alive
- Integrate etcd-based service discovery for appks gRPC connections
- Add service watcher for real-time service instance updates
- Migrate Redis configuration from single URL to cluster node list
- Update Dockerfile with default IMKS_HOST and IMKS_PORT environment variables
- Add etcd bootstrap configuration through environment variables
- Implement Redis cluster URL building with optional authentication
2026-06-11 16:22:23 +08:00

15 lines
221 B
Rust

pub mod auth;
pub mod database;
pub mod engine;
pub mod error;
pub mod etcd;
pub mod models;
pub mod pb;
pub mod repo;
pub mod rpc;
pub mod socket;
pub mod svc;
pub mod telemetry;
pub use error::{ImksError, ImksResult};