server: remove unparsed body from request and message
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
This commit is contained in:
@@ -21,10 +21,6 @@ func (r *tcpMessage) Topic() string {
|
||||
return r.topic
|
||||
}
|
||||
|
||||
func (r *tcpMessage) Payload() interface{} {
|
||||
return r.payload
|
||||
}
|
||||
|
||||
func (r *tcpMessage) ContentType() string {
|
||||
return r.contentType
|
||||
}
|
||||
@@ -33,8 +29,8 @@ func (r *tcpMessage) Header() metadata.Metadata {
|
||||
return r.header
|
||||
}
|
||||
|
||||
func (r *tcpMessage) Body() []byte {
|
||||
return r.body
|
||||
func (r *tcpMessage) Body() interface{} {
|
||||
return r.payload
|
||||
}
|
||||
|
||||
func (r *tcpMessage) Codec() codec.Codec {
|
||||
|
Reference in New Issue
Block a user