Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BlockConfig ¶
type BlockConfig struct { BlockChainName string `json:"BlockChainName"` BlockMin int64 `json:"BlockMin"` BlockChainCode int64 `json:"BlockChainCode"` BlockMax int64 `json:"BlockMax"` Cluster []*NodeCluster `json:"Cluster"` }
type Config ¶
type Config struct { AutoCreateBlockTask bool `json:"AutoCreateBlockTask"` BlockConfigs []*BlockConfig `json:"Chains"` TaskKafka *Kafka `json:"TaskKafka"` Redis *Redis `json:"Redis"` }
func LoadConfig ¶
type NodeCluster ¶
Click to show internal directories.
Click to hide internal directories.