Versions in this module Expand all Collapse all v0 v0.4.1 Dec 25, 2018 v0.4.0 Dec 24, 2018 Changes in this version + func EnsureRoot(rootDir string) + func WriteConfigFile(configFilePath string, config *CLIConfig) + type CLIConfig struct + Adbuyermock string + Authormock string + Banker string + Community string + Dappowner string + DirectTOQOS bool + QOSChainID string + QOSNodeURI string + QSCChainID string + QSTARSNodeURI string + RootDir string + WaitingForQosResult string + func DefaultConfig() *CLIConfig + func InterceptLoadConfig() (conf *CLIConfig, err error) + func ParseConfig() (*CLIConfig, error) + type QStarsClientContext struct + Config *CLIConfig + QOSCliContext *context.CLIContext + QSCCliContext *context.CLIContext + var Clictx QStarsClientContext + func CreateCLIContextTwo(cdc *wire.Codec, cfg *CLIConfig) QStarsClientContext + func GetCLIContext() QStarsClientContext + type ServerConf struct + Community string + QOSChainName string + QStarsPrivateKey string + QStarsTransactions string + RootDir string + func GetServerConf() *ServerConf + func Init(filename string, rootDir string) (p *ServerConf, err error)