summaryrefslogtreecommitdiff
path: root/payload.go
diff options
context:
space:
mode:
authorWolfy-J <[email protected]>2018-06-06 15:55:28 +0300
committerWolfy-J <[email protected]>2018-06-06 15:55:28 +0300
commite863c6cdcf7c318fb251e096bf92812ed98ea03c (patch)
tree9eb2cd049dfae0482211a6a212d28cc48304f109 /payload.go
parent67b88c9914d922314ce7cd8d3624d64812647758 (diff)
better server re-configuration
Diffstat (limited to 'payload.go')
-rw-r--r--payload.go6
1 files changed, 4 insertions, 2 deletions
diff --git a/payload.go b/payload.go
index 4cfcb68c..87472fa1 100644
--- a/payload.go
+++ b/payload.go
@@ -3,11 +3,13 @@ package roadrunner
// Payload carries binary header and body to workers and
// back to the server.
type Payload struct {
- // Context represent payload context, might be omitted
+ // Context represent payload context, might be omitted.
Context []byte
- // body contains binary payload to be processed by worker
+ // body contains binary payload to be processed by worker.
Body []byte
+
+ // todo: io.Reader support for streamed requests and responses.
}
// String returns payload body as string