mirror of
https://github.com/fumiama/WireGold.git
synced 2026-06-27 22:30:26 +08:00
init
This commit is contained in:
9
gold/link/identify.go
Normal file
9
gold/link/identify.go
Normal file
@@ -0,0 +1,9 @@
|
||||
package link
|
||||
|
||||
type Identity struct {
|
||||
PubicKey [32]byte
|
||||
EndPoint string
|
||||
KeepAlive int64
|
||||
}
|
||||
|
||||
var peers = make(map[string]*Identity)
|
||||
Reference in New Issue
Block a user