Initial Commit

This commit is contained in:
2021-11-11 16:13:40 -08:00
commit 0645bc876c
28 changed files with 3363 additions and 0 deletions

12
internal/types/http.go Normal file
View File

@@ -0,0 +1,12 @@
package types
type Node struct {
ID string `msgpack:"id,omitempty"`
IP string `msgpack:"ip"`
}
type Response struct {
Error bool `msgpack:"error"`
Message string `msgpack:"msg,omitempty"`
Data interface{} `msgpack:"data,omitempty"`
}