package
1.0.0
Repository: https://github.com/sixiaobai/rpcxmirror.git
Documentation: pkg.go.dev

# Functions

FreeMsg puts a msg into the pool.
GetPooledMsg gets a pooled message.
No description provided by the author
NewMessage creates an empty message.
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 mssing.
No description provided by the author
MaxMessageLength is the max length of a message.

# Structs

GzipCompressor implements gzip compressor.
Message is the generic type of Request and Response.
No description provided by the author

# 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 resposnes.
SerializeType defines serialization type of payload.