2021-11-16 12:04:01 -06:00
|
|
|
//go:build !consulent
|
2021-07-22 14:33:22 -05:00
|
|
|
// +build !consulent
|
|
|
|
|
|
|
|
package structs
|
|
|
|
|
|
|
|
func IsConsulServiceID(id ServiceID) bool {
|
|
|
|
return id.ID == ConsulServiceID
|
|
|
|
}
|
|
|
|
|
|
|
|
func IsSerfCheckID(id CheckID) bool {
|
|
|
|
return id.ID == SerfCheckID
|
|
|
|
}
|