Commit Graph

23 Commits

Author SHA1 Message Date
Derrick Hammer 43eb8c3e9a
refactor: add ctx to protocol Init 2024-02-27 03:35:43 -05:00
Derrick Hammer 1a9fa9c4be
fix: Config should embed a pointer to s5config.NodeConfig 2024-02-23 08:18:05 -05:00
Derrick Hammer 9932e6194e
fix: update error message 2024-02-22 03:44:27 -05:00
Derrick Hammer a6218e9b7c
fix: need to update config management in s5 protocol 2024-02-22 03:27:40 -05:00
Derrick Hammer 7f12ee5b0d
refactor: implement new configuration management system 2024-02-22 02:13:59 -05:00
Derrick Hammer ac9a1a0b92
feat: implement StorageProtocol 2024-02-17 05:20:42 -05:00
Derrick Hammer 263473db41
refactor: add PreInit and Node setter to store s5 node 2024-02-17 05:16:52 -05:00
Derrick Hammer 0ac4d318b7
refactor: use a lazy setter approach for storageProtocol 2024-02-17 04:41:12 -05:00
Derrick Hammer b52383b123
refactor: add StorageProtocol to S5ProtocolResult 2024-02-17 04:05:42 -05:00
Derrick Hammer afc0b7a343
refactor: replicate what we did in api and remove the need for an InitFunc 2024-02-17 03:24:44 -05:00
Derrick Hammer f34c041401
fix: UploadExists/GetUpload needs ctx 2024-02-17 02:39:42 -05:00
Derrick Hammer c468a81543
refactor: remove tus out of method names 2024-02-16 22:03:34 -05:00
Derrick Hammer 93e727ab3b
refactor: epic protocol and storage design refactor 2024-02-16 22:00:53 -05:00
Derrick Hammer a4afda0ecc
feat: add proof download s5 protocol file discovery 2024-02-09 15:55:04 -05:00
Derrick Hammer 95cfa393b4
fix: no need for singleton hack, use Replace not Decorate 2024-01-31 22:51:51 -05:00
Derrick Hammer 6d34f5b683
refactor: change struct naming convention from "impl" to "default" 2024-01-31 20:29:27 -05:00
Derrick Hammer 791b291ce7
fic: add node init 2024-01-30 15:48:05 -05:00
Derrick Hammer 64c3795876
fix: need to hack the condtructor and make a global var as the constructor is getting called twice? 2024-01-30 14:51:23 -05:00
Derrick Hammer 3a49375638
fix: need to not return logger, but decorate the one we do have and replace with the one in the config 2024-01-30 14:32:46 -05:00
Derrick Hammer e477d681d4
Revert "fix: use cfg.Logger"
This reverts commit b86b597cb8.
2024-01-30 14:28:50 -05:00
Derrick Hammer b86b597cb8
fix: use cfg.Logger 2024-01-30 14:21:55 -05:00
Derrick Hammer 9224dcd119
fix: db and logger need to be in S5ProtocolResult 2024-01-30 14:20:33 -05:00
Derrick Hammer e034e1d54e
refactor: restructure s5 protocol/api to use new fx module and new library structure. Also move the proto/api to its own package for organization 2024-01-29 15:11:57 -05:00