diff options
author | Wolfy-J <[email protected]> | 2018-01-23 19:51:15 -0500 |
---|---|---|
committer | Wolfy-J <[email protected]> | 2018-01-23 19:51:15 -0500 |
commit | 78a42de837928cf7d10a1ae04d7e82e56d66e1e2 (patch) | |
tree | 8882b9a051bcc9c42328df583c0bb8c39a89591e /payload.go | |
parent | fa4bd78d9f7c5f74e8445374370927c742fc4e78 (diff) |
API update
Diffstat (limited to 'payload.go')
-rw-r--r-- | payload.go | 14 |
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) +} |