Henrique Vicente
|
9c2c389e06
|
json: fix implementation of json Unmarshalers.
* AuthenticationMD5Password was wrong and is not needed
* Bind was wrong
* ErrorResponse is not needed
* Minor improvements for reliability
|
2021-05-22 11:34:25 -05:00 |
|
Henrique Vicente
|
ba924e5715
|
json: Implement json.Unmarshaler for messages.
This will allow using pgmockproxy output as ingestion data for pgmock.
|
2021-05-22 11:34:25 -05:00 |
|
Jack Christensen
|
835cf1b068
|
Fix: Bind.MarshalJSON when ParameterFormatCodes is nil or single element
refs #10
|
2020-09-17 17:03:30 -05:00 |
|
Jack Christensen
|
76538434cf
|
MarshalJSON should be defined on T not *T
Otherwise "%v" format would be used by json.Marshal(T).
|
2019-08-27 21:13:45 -05:00 |
|
Jack Christensen
|
432c2951c7
|
Add a lot of documentation
|
2019-06-08 19:38:34 -05:00 |
|
Jack Christensen
|
16176b5151
|
Add go module support
|
2019-03-30 12:26:24 -05:00 |
|
Jack Christensen
|
d6312305ae
|
Replace MarshalBinary with Encode
This new approach can avoid allocations.
|
2017-05-26 17:00:44 -05:00 |
|
Jack Christensen
|
e45a42c7ef
|
Do not create empty slices in Bind.Decode
|
2017-05-19 15:50:27 -05:00 |
|
Jack Christensen
|
80edb27dee
|
Fix Bind Decode to advance rp
|
2017-05-13 16:19:55 -05:00 |
|
Jack Christensen
|
d25abf5674
|
Add pgproto3.Backend
|
2017-05-01 18:11:55 -05:00 |
|