mirror of
https://github.com/fumiama/WireGold.git
synced 2026-06-13 05:31:08 +08:00
init complete
This commit is contained in:
7
gold/head/nat.go
Normal file
7
gold/head/nat.go
Normal file
@@ -0,0 +1,7 @@
|
||||
package head
|
||||
|
||||
// map[peerip]endpoint
|
||||
type Notify map[string]string
|
||||
|
||||
// peerips array
|
||||
type Query []string
|
||||
@@ -2,6 +2,7 @@ package head
|
||||
|
||||
const (
|
||||
ProtoHello uint8 = iota
|
||||
ProtoHelloAck
|
||||
ProtoNotify
|
||||
ProtoQuery
|
||||
ProtoData
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user