Expand description
Types and functions to configure a Tor Relay.
NOTE: At the moment, only StorageConfig is implemented but as we ramp up arti relay implementation, more configurations will show up.
Structs§
- Logging
Config 🔒 - Logging configuration options.
- Logging
Config 🔒Builder - Builder for
LoggingConfig
. - Storage
Config 🔒 - Configuration for where information should be stored on disk.
- Storage
Config 🔒Builder - Builder for
StorageConfig
. - TorRelay
Config 🔒 - A configuration used by a TorRelay.
- TorRelay
Config 🔒Builder - Builder for
TorRelayConfig
.
Constants§
- DEFAULT_
LOG_ 🔒LEVEL - Default log level.
Functions§
- base_
resolver 🔒 - A
CfgPathResolver
with the base variables configured for a Tor relay. - default_
cache_ 🔒dir - Return the default cache directory.
- default_
config_ 🔒paths - Paths used for default configuration files.
- default_
state_ 🔒dir - Return the default state directory.
- get_
program_ 🔒dir - The directory holding the currently executing program.
- project_
dirs 🔒 - A
ProjectDirs
object for Arti relays.