1
0
mirror of https://github.com/fumiama/WireGold.git synced 2026-06-13 05:31:08 +08:00

init complete

This commit is contained in:
fumiama
2021-10-25 01:01:22 +08:00
parent d9138df3cd
commit e29d5b2f48
9 changed files with 115 additions and 38 deletions

7
gold/head/nat.go Normal file
View File

@@ -0,0 +1,7 @@
package head
// map[peerip]endpoint
type Notify map[string]string
// peerips array
type Query []string

View File

@@ -2,6 +2,7 @@ package head
const (
ProtoHello uint8 = iota
ProtoHelloAck
ProtoNotify
ProtoQuery
ProtoData
)