Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func InitConfig ¶
func InitConfig(path string)
Types ¶
type Config ¶
type P2PS ¶
type P2PS struct {
Enable bool `mapstructure:"enable" json:"enable"`
ServiceDiscoveryID string `mapstructure:"service_discovery_id" json:"service_discovery_id"`
ServiceCommandTopic string `mapstructure:"service_command_topic" json:"service_command_topic"`
ServiceDiscoverMode string `mapstructure:"service_discover_mode" json:"service_discover_mode"`
NodeHostIP string `mapstructure:"node_host_ip" json:"node_host_ip"`
NodeHostPort int `mapstructure:"node_host_port" json:"node_host_port"`
}
Click to show internal directories.
Click to hide internal directories.