mirror of https://github.com/status-im/consul.git
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
|
||
|
}
|