open-consul/agent/structs/catalog_oss.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
}