github.com/smithx10/nomad@v0.9.1-rc1/helper/pool/conn.go (about)

     1  package pool
     2  
     3  type RPCType byte
     4  
     5  const (
     6  	RpcNomad     RPCType = 0x01
     7  	RpcRaft              = 0x02
     8  	RpcMultiplex         = 0x03
     9  	RpcTLS               = 0x04
    10  	RpcStreaming         = 0x05
    11  
    12  	// RpcMultiplexV2 allows a multiplexed connection to switch modes between
    13  	// RpcNomad and RpcStreaming per opened stream.
    14  	RpcMultiplexV2 = 0x06
    15  )