diff --git a/examples/composer.lock b/examples/composer.lock deleted file mode 100644 index 688597e..0000000 --- a/examples/composer.lock +++ /dev/null @@ -1,58 +0,0 @@ -{ - "_readme": [ - "This file locks the dependencies of your project to a known state", - "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", - "This file is @generated automatically" - ], - "content-hash": "30ef1cf9d015629644eb496259faf0ab", - "packages": [ - { - "name": "spiral/goridge", - "version": "v2.3.0", - "source": { - "type": "git", - "url": "https://github.com/spiral/goridge.git", - "reference": "22c9d3e001630c4fbd2a463773d9afe12e014327" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/spiral/goridge/zipball/22c9d3e001630c4fbd2a463773d9afe12e014327", - "reference": "22c9d3e001630c4fbd2a463773d9afe12e014327", - "shasum": "" - }, - "require": { - "php": ">=7.0" - }, - "require-dev": { - "phpunit/phpunit": "~6.0" - }, - "type": "goridge", - "autoload": { - "psr-4": { - "Spiral\\Goridge\\": "php-src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Anton Titov / Wolfy-J", - "email": "wolfy.jd@gmail.com" - } - ], - "description": "High-performance PHP-to-Golang RPC bridge", - "time": "2020-03-23T14:23:40+00:00" - } - ], - "packages-dev": [], - "aliases": [], - "minimum-stability": "stable", - "stability-flags": [], - "prefer-stable": false, - "prefer-lowest": false, - "platform": [], - "platform-dev": [], - "plugin-api-version": "1.1.0" -} diff --git a/frame_flags.go b/frame_flags.go index 2ff82a4..4d23666 100644 --- a/frame_flags.go +++ b/frame_flags.go @@ -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