mirror of
https://github.com/status-im/consul.git
synced 2025-01-11 06:16:08 +00:00
16 lines
281 B
Go
16 lines
281 B
Go
// Copyright (c) HashiCorp, Inc.
|
|
// SPDX-License-Identifier: BUSL-1.1
|
|
|
|
//go:build !consulent
|
|
// +build !consulent
|
|
|
|
package structs
|
|
|
|
func IsConsulServiceID(id ServiceID) bool {
|
|
return id.ID == ConsulServiceID
|
|
}
|
|
|
|
func IsSerfCheckID(id CheckID) bool {
|
|
return id.ID == SerfCheckID
|
|
}
|