Aleksandr Razumov
|
a2af8aa04f
|
message: implement binary and gob encoding
|
2020-11-01 20:36:59 +03:00 |
|
Aleksandr Razumov
|
f5f4fe320a
|
all: fix golangci-lint warnings
|
2020-11-01 18:48:51 +03:00 |
|
Aleksandr Razumov
|
84e5334f48
|
message: improve docs
|
2020-01-02 16:36:56 +03:00 |
|
Aleksandr Razumov
|
c3883b19ba
|
message: simplify write methods
The m.grow call has too little overhead, so call
it every time.
|
2020-01-01 21:08:35 +03:00 |
|
Aleksandr Razumov
|
a24dfdbabf
|
Fix buffer grow for n < length
Forbid buffer length decrease.
|
2019-07-16 20:15:13 +03:00 |
|
Aleksandr Razumov
|
76358cb28c
|
Optimize buffer grow
* Reuse capacity if possible
* If not, use slice trick that is optimized by compiler
|
2019-07-16 20:15:13 +03:00 |
|
Aleksandr Razumov
|
930f124284
|
Optimize internal buffer
Simplify Message.grow method and fix it's usage.
|
2019-07-16 20:15:13 +03:00 |
|
Aleksandr Razumov
|
ce5eeedaab
|
all: reduce newline overuse
|
2019-03-08 22:12:06 +03:00 |
|
Aleksandr Razumov
|
ec20c32f2e
|
message: fix linter warning instead of disabling warning for file
|
2019-02-19 00:04:51 +03:00 |
|
Aleksandr Razumov
|
af01db300c
|
iana: add test for method values
|
2018-11-16 21:37:43 +03:00 |
|
Aleksandr Razumov
|
bf724e7f11
|
message: add methods from RFC 6062
|
2018-08-21 03:02:54 +03:00 |
|
Aleksandr Razumov
|
40dddc754d
|
message: fix Encode and WriteAttributes methods
|
2018-08-16 00:52:40 +03:00 |
|
Aleksandr Razumov
|
04a5217700
|
message: handle multiple values for one attribute type in Equal()
|
2018-08-02 10:50:53 +03:00 |
|
Aleksandr Razumov
|
4a937fd9b8
|
message: fix CloneTo method
|
2018-07-13 00:11:05 +03:00 |
|
Aleksandr Razumov
|
b1195c12de
|
message: copy on Decode
|
2018-06-23 12:07:33 +03:00 |
|
Aleksandr Razumov
|
a3f84b6dc7
|
message: add helper Decode function
|
2018-06-23 11:57:06 +03:00 |
|
Aleksandr Razumov
|
84ec516c71
|
message: implement Setter to allow crafting responses
|
2018-06-21 20:40:08 +03:00 |
|
Aleksandr Razumov
|
dca36b5973
|
message: check Decode error while doing CloneTo
|
2018-02-16 17:46:08 +03:00 |
|
Aleksandr Razumov
|
6a83e3ae20
|
message: add CloneTo method
|
2018-02-16 17:43:30 +03:00 |
|
Aleksandr Razumov
|
b282b70c84
|
message: improve attr equality check
|
2017-06-26 04:56:55 +02:00 |
|
Aleksandr Razumov
|
a9b46bdd0b
|
message: reduce cyclomatic complexity for Equal
|
2017-06-26 04:51:34 +02:00 |
|
Aleksandr Razumov
|
a796f01aea
|
all: make TransactionIDSize public
|
2017-06-26 03:58:21 +02:00 |
|
Aleksandr Razumov
|
0715f57ec2
|
message: check nil during equality check
|
2017-06-26 03:41:18 +02:00 |
|
Aleksandr Razumov
|
f139299e92
|
all: refactor errors, improve coverage, refactor
|
2017-06-26 03:18:07 +02:00 |
|
Aleksandr Razumov
|
08e16d29c3
|
message: refactor Method.String method
|
2017-06-25 14:49:36 +02:00 |
|
Aleksandr Razumov
|
3b65ed6a64
|
all: fix linters
|
2017-02-26 13:31:39 +03:00 |
|
Aleksandr Razumov
|
c124b51279
|
docs: fix typo
|
2017-02-22 21:53:31 +03:00 |
|
Aleksandr Razumov
|
e0f2549967
|
{docs,api}: add basic usage (fix #21, fix #27)
|
2017-02-22 21:52:23 +03:00 |
|
Aleksandr Razumov
|
138d40cebb
|
message: add Contains method
|
2017-02-22 20:39:14 +03:00 |
|
Aleksandr Razumov
|
542983501d
|
all: refactor text attributes and cleanup
|
2017-02-22 19:22:12 +03:00 |
|
Aleksandr Razumov
|
a341e30c4f
|
message: reset attributes on decode
|
2017-02-21 04:30:46 +03:00 |
|
Aleksandr Razumov
|
991ccaebd6
|
api: add helpers, improve ux (fix #28)
|
2017-02-21 03:43:35 +03:00 |
|
Aleksandr Razumov
|
06831d9a79
|
message: use pointer reciever for consistency
|
2017-02-18 20:13:44 +03:00 |
|
Aleksandr Razumov
|
f4af1f1a53
|
attributes, message: adjust hex formatting
|
2017-02-12 22:36:33 +03:00 |
|
Aleksandr Razumov
|
3e59394bf8
|
message: remove package comment
|
2017-02-12 22:23:37 +03:00 |
|
Aleksandr Razumov
|
0d630c8890
|
message: use io.ReadFull for NewTransactionID
|
2017-02-12 19:04:47 +03:00 |
|
Aleksandr Razumov
|
2f1c33711b
|
docs: remove "Definitions" not related to package
|
2017-02-12 19:02:04 +03:00 |
|
Aleksandr Razumov
|
35011556e2
|
message: remove Append method
|
2017-02-11 09:02:36 +03:00 |
|
Aleksandr Razumov
|
24fdee0da2
|
message: fix docs about constraints
|
2017-02-11 08:22:29 +03:00 |
|
Aleksandr Razumov
|
f1b2352162
|
all: remove usage of constant errors
|
2017-02-11 06:54:37 +03:00 |
|
Aleksandr Razumov
|
fba9f6b02d
|
all: refactor attributes
|
2017-02-11 05:23:49 +03:00 |
|