9 Commits

Author SHA1 Message Date
fiatjaf
f8fb9e8c26
fix OKEnvelope always requiring the 4th field. 2023-11-04 17:30:19 -03:00
fiatjaf
61cd3130fd
remove unnecessary json tags from cc5979c. 2023-08-21 15:53:03 -03:00
Kay
ac2350c722 style: using effective go and refactoring 2023-08-21 15:50:05 -03:00
fiatjaf
53b9dde6e0
relay.Count() 2023-07-18 16:17:00 -03:00
fiatjaf
f6dddfd770
CountEnvelope. 2023-07-10 20:52:49 -03:00
boreq
b984a598cb Fix panic in ParseMessage
There is a chance the function can panic if a comma is included in the
input which is invalid.
2023-06-20 12:13:48 -03:00
fiatjaf
ccbb44989f
get rid of WriteJSON() and replace calls with manually marshaled envelopes. 2023-05-09 17:02:22 -03:00
fiatjaf
d36fbb95b9
ParseMessage() returns an Envelope, use that on the main relay handler loop. 2023-05-09 16:55:21 -03:00
fiatjaf
f7ce78d7f8
add custom envelope types with json codecs. 2023-05-09 16:31:10 -03:00