Add pub/sub to client/server and make broker more low level
This commit is contained in:
@@ -137,7 +137,6 @@ func (h *httpTransportSocket) Send(m *Message) error {
|
||||
ProtoMajor: 1,
|
||||
ProtoMinor: 1,
|
||||
ContentLength: int64(len(m.Body)),
|
||||
// Request: h.r,
|
||||
}
|
||||
|
||||
for k, v := range m.Header {
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
package transport
|
||||
|
||||
type Message struct {
|
||||
Id string
|
||||
Header map[string]string
|
||||
Body []byte
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user