summaryrefslogtreecommitdiff
path: root/payload.go
diff options
context:
space:
mode:
Diffstat (limited to 'payload.go')
-rw-r--r--payload.go14
1 files changed, 14 insertions, 0 deletions
diff --git a/payload.go b/payload.go
new file mode 100644
index 00000000..63a709dc
--- /dev/null
+++ b/payload.go
@@ -0,0 +1,14 @@
+package roadrunner
+
+type Payload struct {
+ Head, Body []byte
+}
+
+func (p *Payload) HeadString() {
+
+}
+
+// String returns payload body as string
+func (p *Payload) String() string {
+ return string(p.Body)
+}