@cryptotaxi247 / kubo / commits / f61d052ce

go-ipfs-config: Add very basic (possibly temporary) Provider configs

Michael Avila committed Jun 27, 2019 at 12:20 UTC f61d052ce10a04119867d18b5959deb385f5656f
2 files changed +6
config/config.go
+1
@@ -27,6 +27,7 @@ type Config struct {
27 Swarm SwarmConfig
28 Pubsub PubsubConfig
29
30 + Provider Provider
31 Reprovider Reprovider
32 Experimental Experiments
33 }
config/provider.go new
+5
@@ -0,0 +1,5 @@
1 +package config
2 +
3 +type Provider struct {
4 + Strategy string // Which keys to announce
5 +}