github.com/outbrain/consul@v1.4.5/agent/pool/conn.go (about)

     1  package pool
     2  
     3  type RPCType byte
     4  
     5  const (
     6  	// keep numbers unique.
     7  	// iota depends on order
     8  	RPCConsul      RPCType = 0
     9  	RPCRaft                = 1
    10  	RPCMultiplex           = 2 // Old Muxado byte, no longer supported.
    11  	RPCTLS                 = 3
    12  	RPCMultiplexV2         = 4
    13  	RPCSnapshot            = 5
    14  	RPCGossip              = 6
    15  )