summaryrefslogtreecommitdiff
path: root/service/http/response.go
diff options
context:
space:
mode:
authorWolfy-J <[email protected]>2019-05-04 18:52:24 +0300
committerWolfy-J <[email protected]>2019-05-04 18:52:24 +0300
commit117a347b5234bce4168c332f5471855427399b7b (patch)
tree256eccc13a6a8f8e29684a9c4e0ed1892a4139ec /service/http/response.go
parent17c259e8e0a7988b4336643c4d180733663dbaa3 (diff)
polish
Diffstat (limited to 'service/http/response.go')
-rw-r--r--service/http/response.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/service/http/response.go b/service/http/response.go
index 2d17278d..8bd770ec 100644
--- a/service/http/response.go
+++ b/service/http/response.go
@@ -19,7 +19,7 @@ type Response struct {
body interface{}
}
-// NewResponse creates new response based on given roadrunner payload.
+// NewResponse creates new response based on given rr payload.
func NewResponse(p *roadrunner.Payload) (*Response, error) {
r := &Response{body: p.Body}
if err := json.Unmarshal(p.Context, r); err != nil {