in-memory service registry (#1892)

This commit is contained in:
wasaga 2021-02-17 14:28:54 -05:00 committed by GitHub
parent ee28f008b5
commit d04416a5fd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
13 changed files with 2081 additions and 1 deletions

View file

@ -79,6 +79,11 @@ func IsDataBroker(s string) bool {
return false
}
// IsRegistry checks if this node should run the registry service
func IsRegistry(s string) bool {
return IsDataBroker(s)
}
// IsAll checks to see if we should be running all services
func IsAll(s string) bool {
return s == ServiceAll