Skip to content

Commit

Permalink
Add CONTROL flag instead from CONTEXT_SEPARATOR
Browse files Browse the repository at this point in the history
  • Loading branch information
rustatian committed Dec 10, 2020
1 parent ef92666 commit 95a74ff
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 65 deletions.
58 changes: 0 additions & 58 deletions examples/composer.lock

This file was deleted.

14 changes: 7 additions & 7 deletions frame_flags.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,13 @@ type FrameFlag byte
// BYTE flags, it means, that we can set multiply flags from this group using bitwise OR
// For example CONTEXT_SEPARATOR | CODEC_RAW
const (
CONTEXT_SEPARATOR FrameFlag = 0x01 //nolint:stylecheck,golint
CODEC_RAW FrameFlag = 0x04 //nolint:stylecheck,golint
CODEC_JSON FrameFlag = 0x08 //nolint:stylecheck,golint
CODEC_MSGPACK FrameFlag = 0x10 //nolint:stylecheck,golint
CODEC_GOB FrameFlag = 0x20 //nolint:stylecheck,golint
ERROR FrameFlag = 0x40 //nolint:stylecheck,golint
RESERVED1 FrameFlag = 0x80 //nolint:stylecheck,golint
CONTROL FrameFlag = 0x01 //nolint:stylecheck,golint
CODEC_RAW FrameFlag = 0x04 //nolint:stylecheck,golint
CODEC_JSON FrameFlag = 0x08 //nolint:stylecheck,golint
CODEC_MSGPACK FrameFlag = 0x10 //nolint:stylecheck,golint
CODEC_GOB FrameFlag = 0x20 //nolint:stylecheck,golint
ERROR FrameFlag = 0x40 //nolint:stylecheck,golint
RESERVED1 FrameFlag = 0x80 //nolint:stylecheck,golint
)

// COMPLEX flags can't be used with Byte flags, because it's value more than 128
Expand Down

0 comments on commit 95a74ff

Please sign in to comment.