lasso/internal/types/http.go
2021-11-11 16:13:40 -08:00

13 lines
258 B
Go

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"`
}