diff options
author | Valery Piashchynski <[email protected]> | 2022-01-12 17:16:33 +0300 |
---|---|---|
committer | GitHub <[email protected]> | 2022-01-12 17:16:33 +0300 |
commit | 7627cb3ba0fd42592ed36bdf4de5c5af1ffa9f18 (patch) | |
tree | 62ce8ef32f63876187b773faf32b2b325458b104 /payload | |
parent | a191eac78092dda89dbcd19c7a3a171f6aafb71a (diff) | |
parent | a3077cf70c061234960b0f6b8a8c8e99ac2254b7 (diff) |
[#890]: feat(protocol): add codec type to the protocol structurev2.7.0
Diffstat (limited to 'payload')
-rwxr-xr-x | payload/payload.go | 3 |
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 |