# Functions
NewMessage creates an empty message.
PutData puts the byte slice into pool.
Read reads a message from r.
# Constants
Error indicates some errors occur.
Gzip uses gzip compression.
JSON for payload.
MsgPack for payload.
None does not compress.
Normal is normal requests and responses.
ProtoBuffer for payload.
Request is message type of request.
Response is message type of response.
SerializeNone uses raw []byte and don't serialize/deserialize.
ServiceError contains error info of service invocation.
Thrift Thrift for payload.
# Variables
Compressors are compressors supported by rpcx.
ErrMessageTooLong message is too long.
ErrMetaKVMissing some keys or values are missing.
MaxMessageLength is the max length of a message.
# Structs
GzipCompressor implements gzip compressor.
Message is the generic type of Request and Response.
SnappyCompressor implements snappy compressor.
# Interfaces
Compressor defines a common compression interface.
# Type aliases
CompressType defines decompression type.
Header is the first part of Message and has fixed size.
MessageStatusType is status of messages.
MessageType is message type of requests and responses.
SerializeType defines serialization type of payload.