open-nomad/helper/pool/conn.go

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

16 lines
336 B
Go
Raw Normal View History

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
)