添加了节点服务器,各个服务器之间支持多对多

This commit is contained in:
flswld
2022-12-24 04:14:33 +08:00
parent 16dd9c1e87
commit 7e86669628
92 changed files with 1429 additions and 287 deletions
+19
View File
@@ -0,0 +1,19 @@
package constant
var FetterStateConst *FetterState
type FetterState struct {
NONE uint16
NOT_OPEN uint16
OPEN uint16
FINISH uint16
}
func InitFetterStateConst() {
FetterStateConst = new(FetterState)
FetterStateConst.NONE = 0
FetterStateConst.NOT_OPEN = 1
FetterStateConst.OPEN = 1
FetterStateConst.FINISH = 3
}