Discover Packages
github.com/0xcregis/easynode
taskapi
config
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: 3
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
type ClickhouseDb struct {
Addr string `json:"Addr"`
Port int `json:"Port"`
User string `json:"User"`
Password string `json:"Password"`
DbName string `json:"DbName"`
TxTable string `json:"TxTable"`
BlockTable string `json:"BlockTable"`
ReceiptTable string `json:"ReceiptTable"`
}
type Config struct {
RootPath string `json:"RootPath"`
Port int `json:"Port"`
LogLevel int `json:"LogLevel"`
BlockChain []int64 `json:"BlockChain"`
ClickhouseDb map[int64 ]*ClickhouseDb `json:"ClickhouseDb"`
TaskKafka *Kafka `json:"TaskKafka"`
Redis *Redis `json:"Redis"`
}
type Kafka struct {
Host string `json:"Host"`
Port int `json:"Port"`
Topic string `json:"Topic"`
Partition int `json:"Partition"`
}
type Redis struct {
Addr string `json:"Addr"`
Port int64 `json:"Port"`
DB int `json:"DB"`
}
type TaskDb struct {
Addr string `json:"Addr"`
Port int `json:"Port"`
User string `json:"User"`
Password string `json:"Password"`
DbName string `json:"DbName"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.