Skip to main content

Module service

Module service 

Source

Re-exports§

pub use pb::Transport;

Structs§

AtlasRegistry
In-memory state shared by all gRPC handlers (new + legacy). All ops go through one of the typed async methods below. Arc<AtlasRegistry> is cheap to clone; the interior RwLock serialises mutations.
AtlasService

Functions§

serve_atlas
Start the Atlas gRPC server on listen using the given registry. Supervise heartbeat eviction alongside the Atlas service. Steady clock failure or eviction task failure stops the server with an error. Dropping this future also cancels eviction, so it cannot retain an orphan registry.
浙ICP备2023005800号-2 浙公网安备33010902005384号