Expand description
Configuration information for onion services.
Re-exportsΒ§
use amplify::Getters;πuse derive_deftly::derive_deftly_adhoc;πuse tor_cell::relaycell::hs::est_intro;πuse crate::config::restricted_discovery::RestrictedDiscoveryConfig;πuse crate::config::restricted_discovery::RestrictedDiscoveryConfigBuilder;πuse crate::internal_prelude::*;πuse tor_config::derive::prelude::*;π
ModulesΒ§
- restricted_
discovery - Configuration for hidden service restricted discovery mode.
MacrosΒ§
StructsΒ§
- Onion
Service Config - Configuration for one onion service.
- Onion
Service Config Builder - A builder to create an instance of
OnionServiceConfig. - Onion
Service πConfig Publisher View - Descriptor publisherβs view of
OnionServiceConfig - Token
Bucket Config - Configure a token-bucket style limit on some process.
ConstantsΒ§
- DEFAULT_
NUM_ πINTRO_ POINTS - Default number of introduction points.
FunctionsΒ§
- dos_
params_ πfrom_ token_ bucket_ config - Helper: Try to create a DosParams from a given token bucket configuration. Give an error if the value is out of range.