Versions in this module Expand all Collapse all v2 v2.3.1 Jul 26, 2023 Changes in this version + const GrpcCallType + const NotNeedTxVerify + const RestCallType + const RpcTxVerify + const SpvTxVerify + var BaseConf = &BaseConfig + var BuildTime = "" + var Config = &LocalConfig + var ConfigFilePath = "./tcip_bcos.yml" + var CurrentBranch = "" + var CurrentCommit = "" + var CurrentVersion = "1.0.0" + func GetAbsPath(ymlFile string) string + func InitLocalConfig(cmd *cobra.Command) error + type BaseConfig struct + Address string + CallType string + ClientCert string + ClientKey string + DefaultTimeout uint32 + FromGatewayList []string + GatewayID string + GatewayName string + ServerName string + Tlsca string + ToGatewayList []string + TxVerifyInterface *TxVerifyInterface + TxVerifyType string + type LocalConfig struct + BaseConfig *BaseConfig + DbPath string + LogConfig []*logger.LogModuleConfig + Relay *Relay + RpcConfig *RpcConfig + type Relay struct + Address string + CallType string + ClientCert string + ClientKey string + ServerName string + Tlsca string + type RpcConfig struct + BlackList []string + MaxRecvMsgSize int + MaxSendMsgSize int + Port int + RestfulConfig RstfulConfig + TLSConfig TlsConfig + type RstfulConfig struct + MaxRespBodySize int + type TlsConfig struct + CaFile string + CertFile string + KeyFile string + ServerName string + type TxVerifyInterface struct + Address string + ClientCert string + HostName string + TlsEnable bool + Tlsca string