Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ConsulClientConfig = &consulDiscoverClient{ ServicePort: 10086, ServiceHost: "127.0.0.1", ServiceName: "EdmundService", ServiceId: "", Meta: map[string]string{}, HealthCheckUrl: "/consul/health", ConsulPort: 8500, ConsulHost: "127.0.0.1", Logger: log.New(os.Stdout, "", log.LstdFlags), } )
ConsulClientConfig 从命令行中读取相关参数,没有时使用默认值
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.