package
Version:
v1.0.8
Opens a new window with list of versions in this module.
Published: Jan 30, 2026
License: MPL-2.0
Opens a new window with license information.
Imports: 6
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type Conf struct {
LogConfig LogConfig `mapstructure:"Log"`
ApiConfig ServerApiConfig `mapstructure:"Api"`
PprofPort int `mapstructure:"PprofPort"`
}
type LogConfig struct {
Level string `mapstructure:"Level"`
Output string `mapstructure:"Output"`
Access string `mapstructure:"Access"`
}
type NodeApiConfig struct {
APIHost string `mapstructure:"ApiHost"`
NodeID int `mapstructure:"NodeID"`
SecretKey string `mapstructure:"SecretKey"`
NodeType string `mapstructure:"NodeType"`
Timeout int `mapstructure:"Timeout"`
}
type ServerApiConfig struct {
ApiHost string `mapstructure:"ApiHost"`
ServerId int `mapstructure:"ServerID"`
SecretKey string `mapstructure:"SecretKey"`
Timeout int `mapstructure:"Timeout"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.