Documentation
¶
Overview ¶
* Copyright © 2018. TIBCO Software Inc. * This file is subject to the license terms contained * in the license file that is distributed with this file.
Index ¶
Constants ¶
View Source
const ( // Flag Keys ====================== CONFIG_FLAG_KEY = "config" // Defaults ======================= DEFAULT_FOLDER_NAME = ".dovetail-cli" DEFAULT_FILE_NAME = "config.json" // Types of supported blockchains HYPERLEDGER_FABRIC = "fabric" CORDA = "corda" )
Variables ¶
This section is empty.
Functions ¶
func DefaultLocation ¶
DefaultLocation returns the full location of the default configuration file
func GetConfigFile ¶
GetConfigFile file returns the config file location If the config flag is set the default location is overriden
func ReadConfigFile ¶
ReadConfigFile reads the config after setting the right file path to viper If the config flag is set the default location is overriden
Types ¶
Click to show internal directories.
Click to hide internal directories.