package
0.0.0-20230119125558-bda6563e1c7a
Repository: https://github.com/vegaprotocol/shared.git
Documentation: pkg.go.dev
# Functions
CreateCustomCacheDirFor builds the path for cache directories at a given root path and creates intermediate directories.
CreateCustomCachePathFor builds the path for cache files at a given root path and creates intermediate directories.
CreateCustomConfigDirFor builds the path for config directories at a given root path and creates intermediate directories.
CreateCustomConfigPathFor builds the path for configuration files at a given root path and creates intermediate directories.
CreateCustomDataDirFor builds the path for data directories at a given root path and creates intermediate directories.
CreateCustomDataPathFor builds the path for data files at a given root path and creates intermediate directories.
CreateCustomStateDirFor builds the path for data directories at a given root path and creates intermediate directories.
CreateCustomStatePathFor builds the path for cache files at a given root path and creates intermediate directories.
CreateDefaultCacheDirFor builds the default path for a cache directory and creates it, along with intermediate directories, if needed.
CreateDefaultCachePathFor builds the default path for a cache file and creates intermediate directories, if needed.
CreateDefaultConfigDirFor builds the default path for a config directory and creates it, along with intermediate directories, if needed.
CreateDefaultConfigPathFor builds the default path for a configuration file and creates intermediate directories, if needed.
CreateDefaultDataDirFor builds the default path for a data directory and creates it, along with intermediate directories, if needed.
CreateDefaultDataPathFor builds the default path for a data file and creates intermediate directories, if needed.
CreateDefaultStateDirFor builds the default path for a state directory and creates it, along with intermediate directories, if needed.
CreateDefaultStatePathFor builds the default path for a state file and creates intermediate directories, if needed.
CustomCachePathFor builds the path for a cache file or directories at a given root path.
CustomConfigPathFor builds the path for a config file or directories at a given root path.
CustomDataPathFor builds the path for a data file or directories at a given root path.
CustomStatePathFor builds the path for a state file or directories at a given root path.
DefaultCachePathFor build the default path for a cache file or directory.
DefaultConfigPathFor build the default path for a config file or directory.
DefaultDataPathFor build the default path for a data file or directory.
DefaultStatePathFor build the default path for a state file or directory.
No description provided by the author
No description provided by the author
JoinCachePath joins any number of path elements with a root CachePath into a single path, separating them with an OS specific Separator, and returns it as a CachePath.
JoinCachePathStr joins any number of path elements with a root CachePath into a single path, separating them with an OS specific Separator, and returns it as a string.
JoinConfigPath joins any number of path elements with a root ConfigPath into a single path, separating them with an OS specific Separator, and returns it as a ConfigPath.
JoinConfigPathStr joins any number of path elements with a root ConfigPath into a single path, separating them with an OS specific Separator, and returns it as a string.
JoinDataPath joins any number of path elements with a root DataPath into a single path, separating them with an OS specific Separator, and returns it as a DataPath.
JoinDataPathStr joins any number of path elements with a root DataPath into a single path, separating them with an OS specific Separator, and returns it as a string.
JoinStatePath joins any number of path elements with a root StatePath into a single path, separating them with an OS specific Separator, and returns it as a StatePath.
JoinStatePathStr joins any number of path elements with a root StatePath into a single path, separating them with an OS specific Separator, and returns it as a string.
No description provided by the author
New instantiates the specific implementation of the Paths interface based on the value of the customHome.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Constants
LongestPathNameLen is the length of the longest path name.
# Variables
CheckpointStateHome is the folder containing the checkpoint files of to the node.
DataNodeCacheHome is the folder containing the cache used by the data-node.
DataNodeConfigHome is the folder containing the configuration files used by the node.
DataNodeDefaultConfigFile is the default configuration file for the data-node.
DataNodeLogsHome is the folder containing the logs of the data-node.
DataNodeStateHome is the folder containing the state used by the data-node.
DataNodeStorageHome is the folder containing the data storage of the data-node.
No description provided by the author
No description provided by the author
EthereumNodeWalletsDataHome is the folder containing the ethereum wallet used by the node.
FaucetConfigHome is the folder containing the configuration files used by the node.
FaucetDataHome is the folder containing the data used by the faucet.
FaucetDefaultConfigFile is the default configuration file for the data-node.
FaucetWalletsDataHome is the folder containing the data used by the faucet wallets.
NodeConfigHome is the folder containing the configuration files used by the node.
NodeDataHome is the folder containing the data used by the node.
NodeDefaultConfigFile is the default configuration file for the node.
NodeLogsHome is the folder containing the logs of the node.
NodeStateHome is the folder containing the state of the node.
NodeWalletsConfigFile is the configuration file for the node wallets.
NodeWalletsDataHome is the folder containing the data used by the node wallets.
SnapshotDBStateFile is the DB file for GoLevelDB used in snapshots.
SnapshotStateHome is the folder containing the snapshot files of to the node.
VegaHome is the name of the Vega folder for every type of file structure.
VegaNodeWalletsDataHome is the folder containing the vega wallet used by the node.
WalletAppConfigHome is the folder containing the configuration files used by the wallet app application.
WalletAppDefaultConfigFile is the default configuration file for the wallet app application.
WalletAppLogsHome is the folder containing the logs of the wallet app.
WalletAppStateHome is the folder containing the state of the wallet app.
WalletCLIConfigHome is the folder containing the configuration files used by the wallet CLI.
WalletCLIDefaultConfigFile is the default configuration file for the wallet CLI.
WalletCLILogsHome is the folder containing the logs of the wallet CLI.
WalletCLIStateHome is the folder containing the state of the wallet CLI.
WalletsDataHome is the folder containing the user wallets.
WalletServiceConfigHome is the folder containing the configuration files used by the wallet service application.
WalletServiceDataHome is the folder containing the data used by the wallet service.
WalletServiceLogsHome is the folder containing the logs of the node.
WalletServiceNetworksConfigHome is the folder containing the configuration files used by the networks.
WalletServicePermissionsConfigFile is the file containing the permissions that control the access to the wallets.
WalletServicePrivateRSAKeyDataFile is the file containing the private RSA key used by the wallet service.
WalletServicePublicRSAKeyDataFile is the file containing the public RSA key used by the wallet service.
WalletServiceRSAKeysDataHome is the folder containing the RSA keys used by the wallet service.
WalletServiceStateHome is the folder containing the state of the node.
# Structs
No description provided by the author
No description provided by the author
No description provided by the author
# Interfaces
No description provided by the author
# Type aliases
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author