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 `json:"enable"`
ServiceDiscoveryID string `json:"service_discovery_id"`
ServiceCommandTopic string `json:"service_command_topic"`
ServiceDiscoverMode string `json:"service_discover_mode"`
NodeHostIP string `json:"node_host_ip"`
NodeHostPort int `json:"node_host_port"`
AdminTopic string `json:"admin_topic"`
ReadonlyTopic string `json:"readonly_topic"`
}
Click to show internal directories.
Click to hide internal directories.