Documentation ¶
Index ¶
Constants ¶
View Source
const ( BINARY_VERSION_MASK = 0xffff0000 BINARY_VERSION_1 = 0x80010000 COMPACT_PROTOCOL_ID = 0x082 COMPACT_VERSION = 0x01 COMPACT_VERSON_BE = 0x02 COMPACT_VERSION_MASK = 0x1f COMPACT_TYPE_BITS = 0x07 COMPACT_TYPE_SHIFT_AMOUT = 5 )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MessageHeader ¶
type MessageHeader struct { MessageName string MessageType TMessageType SeqId SeqId }
type TMessageType ¶
type TMessageType int32
const ( MessgeTypeInvalid TMessageType = 0 MessageTypeCall TMessageType = 1 MessageTypeReply TMessageType = 2 MessageTypeException TMessageType = 3 MessageTypeOneWay TMessageType = 4 )
type TType ¶
type TType byte
Type constants in the Thrift protocol
const ( TypeStop TType = 0 TypeVoid TType = 1 TypeBool TType = 2 TypeByte TType = 3 TypeI08 TType = 3 TypeDouble TType = 4 TypeI16 TType = 6 TypeI32 TType = 8 TypeI64 TType = 10 TypeString TType = 11 TypeUTF7 TType = 11 TypeStruct TType = 12 TypeMap TType = 13 TypeSet TType = 14 TypeList TType = 15 TypeUTF8 TType = 16 TypeUTF16 TType = 17 )
Click to show internal directories.
Click to hide internal directories.