Documentation ¶
Index ¶
- func ManageDiscovery(configs RegistrationVariables)
- type AppRegistrationBody
- type DataCenterInfo
- type EurekaRegistrationManager
- func (erm EurekaRegistrationManager) DeRegisterFromServiceRegistry(configs RegistrationVariables)
- func (erm EurekaRegistrationManager) RegisterWithServiceRegistry(eurekaConfigs RegistrationVariables)
- func (erm EurekaRegistrationManager) SendHeartBeat(eurekaConfigs RegistrationVariables)
- func (erm EurekaRegistrationManager) StoreOtherMSInfo(configs RegistrationVariables)
- type InstanceDetails
- type Port
- type RegistrationManager
- type RegistrationVariables
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ManageDiscovery ¶
func ManageDiscovery(configs RegistrationVariables)
Types ¶
type AppRegistrationBody ¶
type AppRegistrationBody struct {
Instance InstanceDetails `json:"instance"`
}
type DataCenterInfo ¶
type EurekaRegistrationManager ¶
type EurekaRegistrationManager struct { }
This struct shall be responsible for manager to manage registration with Eureka
func (EurekaRegistrationManager) DeRegisterFromServiceRegistry ¶
func (erm EurekaRegistrationManager) DeRegisterFromServiceRegistry(configs RegistrationVariables)
func (EurekaRegistrationManager) RegisterWithServiceRegistry ¶
func (erm EurekaRegistrationManager) RegisterWithServiceRegistry(eurekaConfigs RegistrationVariables)
func (EurekaRegistrationManager) SendHeartBeat ¶
func (erm EurekaRegistrationManager) SendHeartBeat(eurekaConfigs RegistrationVariables)
func (EurekaRegistrationManager) StoreOtherMSInfo ¶
func (erm EurekaRegistrationManager) StoreOtherMSInfo(configs RegistrationVariables)
type InstanceDetails ¶
type InstanceDetails struct { HostName string `json:"hostName"` App string `json:"app"` VipAddress string `json:"vipAddress"` SecureVipAddress string `json:"secureVipAddress"` IpAddr string `json:"ipAddr"` Status string `json:"status"` Port Port `json:"port"` SecurePort Port `json:"securePort"` HealthCheckUrl string `json:"healthCheckUrl"` StatusPageUrl string `json:"statusPageUrl"` HomePageUrl string `json:"homePageUrl"` DataCenterInfo DataCenterInfo `json:"dataCenterInfo"` }
type RegistrationManager ¶
type RegistrationManager interface { Manage(configs RegistrationVariables) RegisterWithServiceRegistry() SendHeartBeat(configs RegistrationVariables) DeRegisterFromServiceRegistry(configs RegistrationVariables) StoreOtherMSInfo(config RegistrationVariables) }
Click to show internal directories.
Click to hide internal directories.