mirror of https://github.com/hashicorp/consul
12 lines
188 B
Go
12 lines
188 B
Go
|
// +build !consulent
|
||
|
|
||
|
package structs
|
||
|
|
||
|
func IsConsulServiceID(id ServiceID) bool {
|
||
|
return id.ID == ConsulServiceID
|
||
|
}
|
||
|
|
||
|
func IsSerfCheckID(id CheckID) bool {
|
||
|
return id.ID == SerfCheckID
|
||
|
}
|