mirror of https://github.com/hashicorp/consul
16 lines
331 B
Go
16 lines
331 B
Go
|
package pool
|
||
|
|
||
|
type RPCType byte
|
||
|
|
||
|
const (
|
||
|
// keep numbers unique.
|
||
|
// iota depends on order
|
||
|
RPCConsul RPCType = 0
|
||
|
RPCRaft = 1
|
||
|
RPCMultiplex = 2 // Old Muxado byte, no longer supported.
|
||
|
RPCTLS = 3
|
||
|
RPCMultiplexV2 = 4
|
||
|
RPCSnapshot = 5
|
||
|
RPCGossip = 6
|
||
|
)
|