lasso/internal/types/http.go

13 lines
258 B
Go
Raw Normal View History

2021-11-12 00:13:40 +00:00
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"`
}