1
0
mirror of https://github.com/fumiama/WireGold.git synced 2026-06-24 04:27:08 +08:00

feat: add base14 en/decoding

This commit is contained in:
源文雨
2025-02-01 09:49:59 +08:00
parent bbe2c60aa3
commit e6298d3459
6 changed files with 16 additions and 1 deletions

View File

@@ -17,7 +17,8 @@ type Config struct {
EndPoint string `yaml:"EndPoint"`
MTU int64 `yaml:"MTU"` // MTU of nic (will minus packet header len)
SpeedLoop uint16 `yaml:"SpeedLoop"`
Mask uint64 `yaml:"Mask"` // Mask 是异或报文所用掩码, 必须保证各端统一
Mask uint64 `yaml:"Mask"` // Mask 是异或报文所用掩码, 必须保证各端统一
Base14 bool `yaml:"Base14"` // Base14 是否将最终报文进行 base16384 编码后再发送
Peers []Peer `yaml:"Peers"`
}