llarp::ConfigGenParameters
Small struct to gather all parameters needed for config generation to reduce the number of parameters that need to be passed around.
#include <config.hpp>
Public Functions
| Name | |
|---|---|
| ConfigGenParameters() =default | |
| virtual | ~ConfigGenParameters() =default |
| ConfigGenParameters(const ConfigGenParameters & ) =delete | |
| ConfigGenParameters(ConfigGenParameters && ) =delete | |
| virtual const llarp::net::Platform * | Net_ptr() const =0 get network platform (virtual for unit test mocks) |
Public Attributes
| Name | |
|---|---|
| bool | isRelay |
| fs::path | defaultDataDir |
Public Functions Documentation
function ConfigGenParameters
ConfigGenParameters() =default
function ~ConfigGenParameters
virtual ~ConfigGenParameters() =default
function ConfigGenParameters
ConfigGenParameters(
const ConfigGenParameters &
) =delete
function ConfigGenParameters
ConfigGenParameters(
ConfigGenParameters &&
) =delete
function Net_ptr
virtual const llarp::net::Platform * Net_ptr() const =0
get network platform (virtual for unit test mocks)
Public Attributes Documentation
variable isRelay
bool isRelay = false;
variable defaultDataDir
fs::path defaultDataDir;
Updated on 2026-01-10 at 22:49:45 +0000