Commit Graph

352 Commits

Author SHA1 Message Date
Jakub Sztandera
f08263662f Use config for listen addresses in libp2p
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2019-07-04 14:04:39 +02:00
Jakub Sztandera
808a1e9deb Add skeleton of a config
Took way longer than it should had because I was researching exisiting
options.

As it turns out, nothing nice exists that would handle:
 - Multiple overridiable config files
 - Defaults provided in a struct
 - Output in a struct

License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2019-07-04 11:25:28 +02:00