1
0
mirror of https://github.com/fumiama/WireGold.git synced 2026-06-27 22:30:26 +08:00
This commit is contained in:
fumiama
2021-10-24 00:52:13 +08:00
parent e015094337
commit 151da51230
12 changed files with 210 additions and 0 deletions

9
gold/link/identify.go Normal file
View File

@@ -0,0 +1,9 @@
package link
type Identity struct {
PubicKey [32]byte
EndPoint string
KeepAlive int64
}
var peers = make(map[string]*Identity)