package
Version:
v0.0.0-...-1a2806f
Opens a new window with list of versions in this module.
Published: Sep 5, 2022
License: MIT
Opens a new window with license information.
Imports: 1
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type Config struct {
Nodes []NodeInfo `mapstructure:"nodes"`
ConnectInterval time.Duration `mapstructure:"connect_interval"`
QueueSize int `mapstructure:"queue_size"`
}
Config db client config
GetQueueSize get module queue size
type NodeInfo struct {
ID int `mapstructure:"id"`
Driver string `mapstructure:"driver"`
DSN string `mapstructure:"dsn"`
}
NodeInfo server node info
Source Files
¶
Directories
¶
Click to show internal directories.
Click to hide internal directories.