Commit Graph

25 Commits

Author SHA1 Message Date
Derrick Hammer cca7d881de
fix: if ErrTransportNotSupported, then just log and return the error, don't bother blocking 2024-03-05 15:01:59 -05:00
Derrick Hammer 5fcf99d97e
fix: if we dont get a 200, increase the retry count to prevent a possible infinite loop 2024-03-05 13:11:56 -05:00
Derrick Hammer 56d5ab5e6b
Revert "fix: use record type, not hash type"
This reverts commit 4004dd98c9.
2024-03-03 12:16:51 -05:00
Derrick Hammer 4004dd98c9
fix: use record type, not hash type 2024-03-03 12:12:45 -05:00
Derrick Hammer c6aa2cf4a2
fix: Get needs to actually return the entry 2024-03-03 11:26:44 -05:00
Derrick Hammer 73dc22a71e
refactor: add a local param to StorageService.GetCachedStorageLocations so we don't spam the local provider store on every poll 2024-03-03 09:28:33 -05:00
Derrick Hammer a059980ff0
fix: check local 1st and add it to locations, then return locations in len(locationMap) check 2024-03-02 05:53:54 -05:00
Derrick Hammer b75c8cd3fe
refactor: move local check inside GetCachedStorageLocations to be more transparent 2024-03-02 05:46:18 -05:00
Derrick Hammer eb4e4a9f37
refactor: use static error object 2024-03-01 20:54:16 -05:00
Derrick Hammer f279eb7e9d
fix: need to use new struct instance, not interface 2024-02-29 12:50:20 -05:00
Derrick Hammer 1584c38641
fix: check status code, and switch to more light weight http library 2024-02-29 12:25:21 -05:00
Derrick Hammer 5a0b742139
fix: add handshake check to unsigned messages as well 2024-02-28 14:13:44 -05:00
Derrick Hammer 82de843ad9
fix: only skip if we somehow get called while not started and we aren't starting 2024-02-27 04:10:16 -05:00
Derrick Hammer ddde672b3c
refactor: add ctx to all services 2024-02-27 03:30:45 -05:00
Derrick Hammer af3cb367bb
fix: need to provide embedded ServiceParams struct 2024-02-27 02:52:27 -05:00
Derrick Hammer 881e19d569
fix: dont shadow err 2024-01-30 17:09:05 -05:00
Derrick Hammer 5350eda27e
fix: IncomingMessageData needs Logger 2024-01-30 16:54:13 -05:00
Derrick Hammer 7cc5621a10
fix: use ServicesSetter 2024-01-30 16:07:22 -05:00
Derrick Hammer 5a2e28faba
fix: temp cast mediator so we can set the service data 2024-01-30 16:00:41 -05:00
Derrick Hammer a51e3430e1
refactor: more refactoring to break import cycles, introduce a mediator between protocol and service 2024-01-30 00:31:31 -05:00
Derrick Hammer 05ab4e7c0f
chore: unneeded file 2024-01-29 22:56:27 -05:00
Derrick Hammer f2d2193fc2
fix: fix imports, use GetMessageType not GetSignedMessageType 2024-01-29 22:38:52 -05:00
Derrick Hammer ff134ece14
refactor: merged signed back into protocol 2024-01-29 22:35:40 -05:00
Derrick Hammer af58aac985
refactor: base pkg is not needed 2024-01-29 22:25:46 -05:00
Derrick Hammer bd08d75da4
refactoring: more refactoring to break import cycles 2024-01-29 21:38:29 -05:00