summaryrefslogtreecommitdiff
path: root/payload/payload.go
diff options
context:
space:
mode:
authorValery Piashchynski <[email protected]>2022-01-12 17:00:25 +0300
committerValery Piashchynski <[email protected]>2022-01-12 17:00:25 +0300
commit78e51b60e11147d625ef08f1efac923a41bb33b2 (patch)
treefce7a2fcac9cd389b659c12a2d62f14b089083dd /payload/payload.go
parenta191eac78092dda89dbcd19c7a3a171f6aafb71a (diff)
update protocol structure, use encoder
Signed-off-by: Valery Piashchynski <[email protected]>
Diffstat (limited to 'payload/payload.go')
-rwxr-xr-xpayload/payload.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/payload/payload.go b/payload/payload.go
index e1e45ac1..a475bc75 100755
--- a/payload/payload.go
+++ b/payload/payload.go
@@ -12,6 +12,9 @@ type Payload struct {
// body contains binary payload to be processed by WorkerProcess.
Body []byte
+
+ // Type of codec used to decode/encode payload
+ Codec byte
}
// String returns payload body as string