This commit is contained in:
武新飞
2018-12-19 17:47:03 +08:00
committed by Vasiliy Tolstov
parent 3c3b81d9cd
commit 921f832670
3 changed files with 16 additions and 16 deletions

View File

@@ -1,19 +1,19 @@
package http
type rpcMessage struct {
type httpMessage struct {
topic string
contentType string
payload interface{}
}
func (r *rpcMessage) ContentType() string {
func (r *httpMessage) ContentType() string {
return r.contentType
}
func (r *rpcMessage) Topic() string {
func (r *httpMessage) Topic() string {
return r.topic
}
func (r *rpcMessage) Payload() interface{} {
func (r *httpMessage) Payload() interface{} {
return r.payload
}