package
0.1.3
Repository: https://github.com/cloudwego/gopkg.git
Documentation: pkg.go.dev

# Functions

Bytes2Uint16 ...
Bytes2Uint16NoCheck ...
Bytes2Uint32NoCheck ...
Bytes2Uint8 ...
Decode decodes ttheader param from bufiox.Reader.
DecodeFromBytes decodes ttheader param from bytes.
Encode encode ttheader to bufiox.Writer.
EncodeToBytes encode ttheader to bytes.
No description provided by the author
No description provided by the author
ReadString2BLen ...
WriteByte ...
WriteString ...
WriteString2BLen ...
WriteUint16 ...
WriteUint32 ...

# Constants

uint16 keys in ttheader.
uint16 keys in ttheader.
uint16 keys in ttheader.
uint16 keys in ttheader.
uint16 keys in ttheader.
HeaderMask uint32 = 0xFFFF0000.
ttheader streaming frame type.
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
uint16 keys in ttheader.
uint16 keys in ttheader.
uint16 keys in ttheader.
uint16 keys in ttheader.
GDPRToken is used to set up gdpr token into InfoIDACLToken.
the connection peer will shutdown later,so it send back the header to tell client to close the connection.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
string keys of ttheader transport.
string keys of ttheader transport.
string keys of ttheader transport.
string keys of ttheader transport.
string keys of ttheader transport.
string keys of ttheader transport.
string keys of ttheader transport.
string keys of ttheader transport.
string keys of ttheader transport.
string keys of ttheader transport.
uint16 keys in ttheader.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
uint16 keys in ttheader.
uint16 keys in ttheader.
MagicMask is bit mask for checking version.
Header keys.
Header keys.
Header keys.
Header keys.
uint16 keys in ttheader.
method first byte [A-Za-z_].
uint16 keys in ttheader.
Supported ProtocolID values.
Supported ProtocolID values.
TTHeader Streaming: only protobuf struct encoded, no magic.
Supported ProtocolID values.
Kitex not support.
Kitex not support.
TTHeader Streaming: only thrift struct encoded, no magic.
uint16 keys in ttheader.
uint16 keys in ttheader.
uint16 keys in ttheader.
uint16 keys in ttheader.
uint16 keys in ttheader.
The byte count of 32 and 16 integer values.
The byte count of 32 and 16 integer values.
uint16 keys in ttheader.
uint16 keys in ttheader.
uint16 keys in ttheader.
uint16 keys in ttheader.
uint16 keys in ttheader.
uint16 keys in ttheader.
uint16 keys in ttheader.
Header Magics 0 and 16th bits must be 0 to differentiate from framed & unframed.
Meta Size.
uint16 keys in ttheader.

# Structs

DecodeParam is used to return the ttheader info after decoding.
EncodeParam is used to set up params to encode ttheader.

# Type aliases

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