mirror of
https://github.com/fumiama/WireGold.git
synced 2026-06-13 13:40:30 +08:00
all: feats & optimizes
- feat(me): add new cfg param SpeedLoop - chore(send): remove unnecessary err chk in write - perf(listen): use mutex instead of bool checking
This commit is contained in:
@@ -24,6 +24,7 @@ type Config struct {
|
||||
PrivateKey string `yaml:"PrivateKey"`
|
||||
EndPoint string `yaml:"EndPoint"`
|
||||
MTU int64 `yaml:"MTU"`
|
||||
SpeedLoop uint16 `yaml:"SpeedLoop"`
|
||||
Mask uint64 `yaml:"Mask"` // Mask 是异或报文所用掩码, 必须保证各端统一
|
||||
Peers []Peer `yaml:"Peers"`
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user