feat: Add health checking feature to service registry, which periodically checks service status and deletes unhealthy services
This commit is contained in:
@@ -4,5 +4,5 @@ type ServiceRegister struct {
|
||||
Name string `json:"name"`
|
||||
NodeType string `json:"nodeType"`
|
||||
Address string `json:"address"`
|
||||
Port int `json:"port"`
|
||||
Port string `json:"port"`
|
||||
}
|
||||
|
Reference in New Issue
Block a user