package
Version:
v0.5.3
Opens a new window with list of versions in this module.
Published: Jan 9, 2024
License: MIT
Opens a new window with license information.
Imports: 4
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type Config struct {
RootPath string `json:"RootPath"`
Port int `json:"Port"`
LogLevel int `json:"LogLevel"`
BlockChain []int64 `json:"BlockChain"`
Cluster map[int64][]*NodeCluster `json:"Cluster"`
Kafka *Kafka `json:"Kafka"`
}
type Kafka struct {
Host string `json:"Host"`
Port int `json:"Port"`
Topic string `json:"Topic"`
Partition int `json:"Partition"`
}
type NodeCluster struct {
NodeUrl string `json:"NodeUrl"`
NodeToken string `json:"NodeToken"`
Weight int64 `json:"Weight"`
ErrorCount int64 `json:"ErrorCount"`
Utxo string `json:"Utxo"`
Trace bool `json:"Trace"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.