Skip to content

Commit 7b30cd0

Browse files
authored
go-ipfs-config: Merge pull request ipfs#38 from ipfs/features/add-provider-config
Add very basic (possibly temporary) Provider configs
2 parents cae2eaa + 425d8f6 commit 7b30cd0

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)