Commit graph

26 commits

Author SHA1 Message Date
mariusor
8d289001b1
Store IRIs as their underlying byte array when encoding using gob 2022-01-14 16:21:28 +01:00
mariusor
f283750ff6
Added gob Encode/Decode for IRIs 2022-01-12 15:39:08 +01:00
mariusor
fb7fbc1984
Use a specific type for IRI.GetType 2022-01-12 15:34:59 +01:00
Marius Orcsik
b32c7ce9db
Renamed gobEncode string like function 2022-01-02 16:19:08 +01:00
mariusor
f00af9750d
Be consistent in how we encode stringy types
Namely as []byte slices
2021-12-30 19:49:25 +01:00
mariusor
05023b021b
Added gob Marshal/Unmarshal for IRI/ID type 2021-12-30 16:09:33 +01:00
Marius Orcsik
c1e48c1eef
More lint errors fixed 2021-11-12 20:05:08 +01:00
mariusor
a8126635d3 Fix some linting warnings 2021-11-12 19:10:31 +01:00
mariusor
5064eea988 Go fmt'ed files 2021-11-12 18:27:28 +01:00
Marius Orcsik
e26b856fcc
Use fastjson properly 2021-08-15 13:41:01 +02:00
Marius Orcsik
73041d04eb
Replace jsonparser to fastjson for parsing json 2021-08-14 18:34:02 +02:00
Marius Orcsik
0158b24880
Improvements to nil checks before trying to access interface values which might be nil 2021-06-06 17:04:34 +02:00
Marius Orcsik
f09fdb0b8b
Disabled all GobEncoding/Decoding and BinaryMarshal/Unmarshal functionality 2021-04-02 13:52:04 +02:00
Marius Orcsik
ac3d908e7b
Adding placeholder Marshal/UnmarshalBinary and GobEncode/Decode 2021-03-14 19:39:49 +01:00
mariusor
cc0968f78b Remove port when compairing hosts 2021-01-10 20:54:35 +01:00
Marius Orcsik
b1c270db53
Modified ItemMatches method fo match changed ItemMatcher interface 2020-12-28 17:53:47 +01:00
Marius Orcsik
57c015a8e9
Refactored types a bit 2020-06-30 13:35:04 +02:00
Marius Orcsik
0b5d7352b1
Added convenience method to IRI to append path elements to it 2020-04-13 12:01:07 +02:00
Marius Orcsik
020b19dc97
Added UnmarshalJSON functionality for IRIs
Added IRI.ItemMatches functionality
2020-04-11 20:55:11 +02:00
Marius Orcsik
611ae1db29
Simplifying the object IDs 2020-03-26 19:24:44 +01:00
Marius Orcsik
b973dafdba
Fix iri collection marshaling 2019-12-19 21:03:31 +01:00
Marius Orcsik
6bb34603e9
Refactored marshaling and removing bytes.Buffer in favor of a simple byte slice 2019-12-19 17:05:12 +01:00
Marius Orcsik
b89c9ee68c
Renamed ObjectID to ID 2019-12-05 19:02:15 +01:00
Marius Orcsik
4a6d2e2600
Added security namespace and moved constants to iri 2019-12-04 16:34:38 +01:00
Marius Orcsik
e1942ec531
Fixing some tests 2019-12-03 19:59:20 +01:00
Marius Orcsik
c3a38f35e7
Holy shit! Merged the activitystreams repo
Only 3 tests failing
2019-12-03 17:23:59 +01:00
Renamed from streams/iri.go (Browse further)