Skip to content

Commit 7ef4633

Browse files
authored
Merge pull request ipfs#38 from ipfs/features/add-provider-config
Add very basic (possibly temporary) Provider configs
2 parents e6f2d5a + d631535 commit 7ef4633

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

config/config.go

+1
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ type Config struct {
2727
Swarm SwarmConfig
2828
Pubsub PubsubConfig
2929

30+
Provider Provider
3031
Reprovider Reprovider
3132
Experimental Experiments
3233
}

config/provider.go

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
package config
2+
3+
type Provider struct {
4+
Strategy string // Which keys to announce
5+
}

0 commit comments

Comments
 (0)