Skip to main content

tuwunel_admin/query/resolver/
mod.rs

1mod destinations_cache;
2mod overrides_cache;
3
4use clap::Subcommand;
5use ruma::OwnedServerName;
6use tuwunel_core::Result;
7
8use crate::admin_command_dispatch;
9
10#[admin_command_dispatch]
11#[derive(Debug, Subcommand)]
12/// Resolver service and caches
13pub(crate) enum ResolverCommand {
14	/// Query the destinations cache
15	DestinationsCache {
16		server_name: Option<OwnedServerName>,
17	},
18
19	/// Query the overrides cache
20	OverridesCache {
21		name: Option<String>,
22	},
23}