package
1.2.2
Repository: https://github.com/osgochina/dmicro.git
Documentation: pkg.go.dev

# Functions

AddInheritedFunc 平滑重启的时候,会回调该方法,保存fd列表.
No description provided by the author
GetInheritedFunc 如果是平滑重启,可以获取到从父进程继承过来的fd列表.
InheritedListen 使用kcp协议启动监听,需要先判断是否是继承过来的端口 network: 网络类型,在这里只能是udp协议,但是区分udp,udp4,udp6 laddr: 本地要监听的数据包地址端口 tlsConf: 证书信息 dataShards,parityShards: FEC前向纠错算法的数据冗余度配置,这两个参数决定了fec的冗余度,冗余度越大抗丢包性就越强。.
No description provided by the author
No description provided by the author
No description provided by the author
SetInherited 添加files列表到环境变量,让子进程继承,1.

# Constants

FEC前向纠错算法的数据冗余度.
FEC前向纠错算法的奇偶校验配置.

# Structs

No description provided by the author

# Type aliases

No description provided by the author