6a64b28bb3
Merge pull request #39 from urgentquest/better-config-file-handling
...
Better config file handling
2025-03-09 13:52:15 -04:00
9fa714f648
typo
2025-03-05 20:03:31 +00:00
eda403443d
Some additional tweaks. Split out actual config handling. Add an auxiliary func to build i2p base directory path
2025-03-05 00:40:43 +00:00
84cc45d3e4
Refactor config handling
...
- Replace low-level operations like file existance checks, file io with viper calls.
That also allows to get rid of manual config structure initialization.
- Split out UserHome() into itil/home.go to reduce code duplicacy.
- Better error handling and general readbility.
2025-03-04 23:59:38 +00:00
91d8b30495
Add callgraphs to docs
2025-02-26 21:03:51 -05:00
ea4d126358
Add callgraphs to docs
2025-02-26 20:58:20 -05:00
f46bd95b68
Add callgraphs to docs
2025-02-26 20:52:16 -05:00
9e3c8bcb98
move logger out of go-i2p so we can re-use it without importing the entire module
2024-11-21 17:16:48 -05:00
92e4656774
move from ~/go-i2p to ~/.go-i2p
2024-11-02 21:37:23 -04:00
a17f0208dd
gofumpt adjustment
2024-10-31 10:53:22 -04:00
423f616d53
Info -> Debug
2024-10-30 23:29:46 -04:00
39b683dac8
fixed circular dependency
2024-10-30 11:20:15 -04:00
46883f6457
build fails -> import cycle
2024-10-30 09:31:01 -04:00
4be55062fc
Moved config funcs to config.go
2024-10-30 09:22:32 -04:00
12a3fd4623
Added config files + args
...
-added routerInstance
-added initConfig()
-added updateRouterConfig()
-yaml format
2024-10-30 09:16:22 -04:00
d900d7faf8
add doc.md files from master
2024-10-03 22:10:55 -04:00
03c9d60ab9
update other non-transport parts of lib
2024-10-03 22:09:16 -04:00
416cf6546a
remove unused config/su3 implementation
2022-08-02 09:47:19 -04:00
0ec4f55fa9
Check in unchecked-in common library fixes, start implementing transports.
...
Since I turned out to be implementing parts of Noise which I did not need to implement, I'm taking a different approach, and doing an unmodified Noise transport first and then making our modifications to it. That should reduce what I need to do to message pre-processing mostly, I think.
2022-07-11 23:41:58 -04:00
366db272f4
merge majestrate's changes from years ago
2021-04-19 20:51:15 -04:00
6c7b8d48ea
make it build with modules and add the checklist from ire
2021-04-19 20:43:37 -04:00
798650cfd5
SU3 parsing!
2017-05-14 20:52:12 -07:00
13b1639b58
add untracked file
2016-08-17 09:20:15 -04:00
f1094c0ffe
fix up structure
2016-08-17 09:19:56 -04:00
1e471e4e00
format with go fmt
2016-01-29 07:22:31 -05:00
67d49585af
add base files
2016-01-28 10:16:26 -05:00