package
1.1.0
Repository: https://github.com/lightkool/fabric.git
Documentation: pkg.go.dev

# Functions

---------------------------------------------------------------------------------- AddDevConfigPath()---------------------------------------------------------------------------------- Helper utility that automatically adds our DevConfigDir to the viper path----------------------------------------------------------------------------------.
---------------------------------------------------------------------------------- GetDevConfigDir()---------------------------------------------------------------------------------- Returns the path to the default configuration that is maintained with the source tree.
---------------------------------------------------------------------------------- GetDevMspDir()---------------------------------------------------------------------------------- Builds upon GetDevConfigDir to return the path to our sampleconfig/msp that is maintained with the source tree.
---------------------------------------------------------------------------------- GetPath()---------------------------------------------------------------------------------- GetPath allows configuration strings that specify a (config-file) relative path For example: Assume our config is located in /etc/hyperledger/fabric/core.yaml with a key "msp.configPath" = "msp/config.yaml".
---------------------------------------------------------------------------------- InitViper()---------------------------------------------------------------------------------- Performs basic initialization of our viper-based configuration layer.
---------------------------------------------------------------------------------- TranslatePath()---------------------------------------------------------------------------------- Translates a relative path into a fully qualified path relative to the config file that specified it.
---------------------------------------------------------------------------------- TranslatePathInPlace()---------------------------------------------------------------------------------- Translates a relative path into a fully qualified path in-place (updating the pointer) relative to the config file that specified it.

# Constants

No description provided by the author