You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
consul/proto/pbpeering/types.go

11 lines
234 B

package pbpeering
const (
TypeURLService = "type.googleapis.com/consul.api.Service"
TypeURLRoots = "type.googleapis.com/consul.api.CARoots"
)
func KnownTypeURL(s string) bool {
return s == TypeURLService || s == TypeURLRoots
}