package
0.10.3
Repository: https://github.com/cloudwego/kitex.git
Documentation: pkg.go.dev

# Packages

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Functions

Bytes2Uint16 ...
Bytes2Uint16NoCheck ...
Bytes2Uint32 ...
Bytes2Uint32NoCheck ...
Bytes2Uint8 ...
* * +------------------------------------------------------------+ * | 4Byte | 2Byte | * +------------------------------------------------------------+ * | Length | HEADER MAGIC | * +------------------------------------------------------------+ */.
NewDataIfNeeded is used to create the data if not exist.
NewDefaultCodec creates the default protocol sniffing codec supporting thrift and protobuf.
NewDefaultCodecWithSizeLimit creates the default protocol sniffing codec supporting thrift and protobuf but with size limit.
PeekUint32 ...
ReadString ...
ReadString2BLen ...
ReadUint16 ...
ReadUint32 ...
SetOrCheckMethodName is used to set method name to invocation.
SetOrCheckSeqID is used to check the sequence ID.
UpdateMsgType updates msg type.
WriteByte ...
WriteString ...
WriteString2BLen ...
WriteUint16 ...
WriteUint32 ...

# Constants

HeaderMask uint32 = 0xFFFF0000.
FrontMask is used in protocol sniffing.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
MagicMask is bit mask for checking version.
Header keys.
Header keys.
Header keys.
Header keys.
method first byte [A-Za-z_].
ProtobufV1Magic is the magic code for kitex protobuf.
Supported ProtocolID values.
Supported ProtocolID values.
Supported ProtocolID values.
Kitex not support.
Kitex not support.
The byte count of 32 and 16 integer values.
The byte count of 32 and 16 integer values.
ThriftV1Magic is the magic code for thrift.VERSION_1.
Header Magics 0 and 16th bits must be 0 to differentiate from framed & unframed.
No description provided by the author

# Type aliases

No description provided by the author
No description provided by the author
ProtocolID is the wrapped protocol id used in THeader.