mirror of https://github.com/status-im/consul.git
18 lines
391 B
Protocol Buffer
18 lines
391 B
Protocol Buffer
|
// Copyright (c) HashiCorp, Inc.
|
||
|
// SPDX-License-Identifier: MPL-2.0
|
||
|
|
||
|
syntax = "proto3";
|
||
|
|
||
|
package hashicorp.consul.catalog.v1alpha1;
|
||
|
|
||
|
enum Protocol {
|
||
|
// buf:lint:ignore ENUM_ZERO_VALUE_SUFFIX
|
||
|
PROTOCOL_TCP = 0;
|
||
|
PROTOCOL_HTTP = 1;
|
||
|
PROTOCOL_HTTP2 = 2;
|
||
|
PROTOCOL_GRPC = 3;
|
||
|
|
||
|
// Protocol Mesh indicates that this port can speak Consul's mTLS based mesh protocol.
|
||
|
PROTOCOL_MESH = 4;
|
||
|
}
|