package
1.0.14
Repository: https://github.com/ndsky1003/crpc.git
Documentation: pkg.go.dev

# Packages

No description provided by the author

# Functions

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

# Constants

固定最大header长度,超过这个长度就属于异常数据.
MaxHeaderSize = 4 + 2 + 2 + 2 + 10 + 10 + 10 + 10 + 10 + 10 + 4 (10 refer to binary.MaxVarintLen64).

# Structs

Header request header structure looks like: +---------+----------+---------+------------+-------------------+-----------------+-------------------+-----------------+----------+------------+----------+ | Version |HeaderType|CoderType|CompressType| FromService | ToService | Module | Method | Seq | RequestLen | Checksum | +---------+----------+---------+------------+-------------------+-----------------+-------------------+-----------------+----------+------------+----------+ | uint32 | uint16 | uint16 | uint16 | uvarint+ string | uvarint+ string | uvarint + string | uvarint +string | uvarint | uvarint | uint32 | +---------+----------+---------+------------+-------------------+-----------------+-------------------+-----------------+----------+------------+----------+.