diff options
Diffstat (limited to 'internal')
-rwxr-xr-x | internal/payload.go | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/internal/payload.go b/internal/payload.go deleted file mode 100755 index 63983bad..00000000 --- a/internal/payload.go +++ /dev/null @@ -1,16 +0,0 @@ -package internal - -// Payload carries binary header and body to stack and -// back to the server. -type Payload struct { - // Context represent payload context, might be omitted. - Context []byte - - // body contains binary payload to be processed by WorkerProcess. - Body []byte -} - -// String returns payload body as string -func (p *Payload) String() string { - return string(p.Body) -} |