open-nomad/helper/pool/conn.go

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

19 lines
406 B
Go
Raw Normal View History

// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: MPL-2.0
2018-01-12 21:58:44 +00:00
package pool
type RPCType byte
const (
RpcNomad RPCType = 0x01
RpcRaft = 0x02
RpcMultiplex = 0x03
RpcTLS = 0x04
RpcStreaming = 0x05
// RpcMultiplexV2 allows a multiplexed connection to switch modes between
// RpcNomad and RpcStreaming per opened stream.
RpcMultiplexV2 = 0x06
2018-01-12 21:58:44 +00:00
)